[Fix #45] Set the terminal erase sequence

main
Sorin Ionescu 13 years ago
parent 03e4cfd3b1
commit 9c611ce7e5

@ -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

Loading…
Cancel
Save