From ed4e9af9c41d08876a76a54a3dece174b92c066d Mon Sep 17 00:00:00 2001 From: Sorin Ionescu Date: Fri, 7 Sep 2012 22:35:05 -0400 Subject: [PATCH] [Fix #263] Revert "Ensure that $terminfo values are valid" The VT100 terminal application mode is an old relic that is no longer needed. This reverts commit a5f8d04d34bc2c935d086c1e7a9f598279e8817f. --- modules/editor/init.zsh | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) diff --git a/modules/editor/init.zsh b/modules/editor/init.zsh index 4f54c81..5f035b6 100644 --- a/modules/editor/init.zsh +++ b/modules/editor/init.zsh @@ -136,23 +136,8 @@ function editor-info { } zle -N editor-info -# Ensures that $terminfo values are valid and updates editor information when -# the keymap changes. +# Updates editor information when the keymap changes. function zle-keymap-select zle-line-init zle-line-finish { - # The terminal must be in application mode when ZLE is active for $terminfo - # values to be valid. - case "$0" in - (zle-line-init) - # Enable terminal application mode. - echoti smkx - ;; - (zle-line-finish) - # Disable terminal application mode. - echoti rmkx - ;; - esac - - # Update editor information. zle editor-info } zle -N zle-keymap-select