From 9c611ce7e52ce128dbd9763aac9e8526b62e5fa4 Mon Sep 17 00:00:00 2001 From: Sorin Ionescu Date: Sun, 18 Mar 2012 18:05:50 -0400 Subject: [PATCH] [Fix #45] Set the terminal erase sequence --- keyboard.zsh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/keyboard.zsh b/keyboard.zsh index 938a4a16..c850c233 100644 --- a/keyboard.zsh +++ b/keyboard.zsh @@ -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