diff --git a/zsh-vi-mode.zsh b/zsh-vi-mode.zsh index 410d998..64f9b7d 100644 --- a/zsh-vi-mode.zsh +++ b/zsh-vi-mode.zsh @@ -3153,9 +3153,7 @@ function zvm_zle-line-pre-redraw() { if [[ -n $TMUX ]]; then zvm_update_cursor # Fix display is not updated in the terminal of IntelliJ IDE. - # We should update display only when the last widget isn't a - # completion widget - [[ $LASTWIDGET =~ 'complet' ]] || zle redisplay + [[ "$TERMINAL_EMULATOR" == "JetBrains-JediTerm" ]] && zle redisplay fi zvm_update_highlight zvm_update_repeat_commands