Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Ohmyzsh
Commits
3705d47b
Commit
3705d47b
authored
Sep 12, 2016
by
Trevor Rosen
Committed by
Marc Cornellà
Sep 12, 2016
Browse files
Fix iTerm crash on window re-size (#5211)
parent
0c85da3c
Changes
1
Hide whitespace changes
Inline
Side-by-side
plugins/vi-mode/vi-mode.plugin.zsh
View file @
3705d47b
...
@@ -6,7 +6,7 @@ function zle-keymap-select() {
...
@@ -6,7 +6,7 @@ function zle-keymap-select() {
# Ensure that the prompt is redrawn when the terminal size changes.
# Ensure that the prompt is redrawn when the terminal size changes.
TRAPWINCH
()
{
TRAPWINCH
()
{
zle
&&
{
zle reset-prompt
;
zle
-R
}
zle
&&
zle
-R
}
}
zle
-N
zle-keymap-select
zle
-N
zle-keymap-select
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment