Fix iTerm crash on window re-size (#5211)

master
Trevor Rosen 10 years ago committed by Marc Cornellà
parent 0c85da3c74
commit 3705d47bb3
  1. 2
      plugins/vi-mode/vi-mode.plugin.zsh

@ -6,7 +6,7 @@ function zle-keymap-select() {
# Ensure that the prompt is redrawn when the terminal size changes.
TRAPWINCH() {
zle && { zle reset-prompt; zle -R }
zle && zle -R
}
zle -N zle-keymap-select

Loading…
Cancel
Save