Browse Source

[Fix #45] Set the terminal erase sequence

master
Sorin Ionescu 13 years ago
parent
commit
9c611ce7e5
  1. 3
      keyboard.zsh

3
keyboard.zsh

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

Loading…
Cancel
Save