1
0
mirror of https://github.com/dcarrillo/prezto.git synced 2024-12-23 03:27:59 +00:00

[Fix #45] Set the terminal erase sequence

This commit is contained in:
Sorin Ionescu 2012-03-18 18:05:50 -04:00
parent 03e4cfd3b1
commit 9c611ce7e5

View File

@ -217,7 +217,8 @@ unset keymap
[[ -n "$keyinfo[Delete]" ]] && \
bindkey "$keyinfo[Delete]" delete-char
[[ -n "$keyinfo[Backspace]" ]] && \
bindkey "$keyinfo[Backspace]" backward-delete-char
bindkey "$keyinfo[Backspace]" backward-delete-char && \
stty erase "$keyinfo[Backspace]"
[[ -n "$keyinfo[Left]" ]] && \
bindkey "$keyinfo[Left]" backward-char