[Fix #45] Set the terminal erase sequence
This commit is contained in:
parent
03e4cfd3b1
commit
9c611ce7e5
|
@ -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…
Reference in a new issue