mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-22 13:50:09 +00:00
Fix iTerm crash on window re-size (#5211)
This commit is contained in:
parent
0c85da3c74
commit
3705d47bb3
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue