Browse Source

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

Trevor Rosen 8 years ago
parent
commit
3705d47bb3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      plugins/vi-mode/vi-mode.plugin.zsh

+ 1 - 1
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