zsh-vi-mode: Broken zsh completion menu
General information
- Operating system: Pop!_OS 21.04
- ZSH framework: none
- ZSH version: 5.8-6
- ZVM version: 82f00eaefc95165f4524e77312db0d216a64a7ad
Basic examination
- I have read through the README page
- I have the latest version of zsh-vi-mode
- I have tested with another terminal program: kitty, gnome-terminal, tilix
Problem description
On the latest commit (82f00eaefc95165f4524e77312db0d216a64a7ad) zsh completion menu broke inside tmux. Outside of tmux it works.
Reproduction steps
setopt menu_complete
- enter tmux, print any command (
cd
for example) and pressTab
About this issue
- Original URL
- State: open
- Created 3 years ago
- Reactions: 4
- Comments: 17 (12 by maintainers)
Commits related to this issue
- fix: zsh completion menu was corrupted (#122) — committed to jeffreytse/zsh-vi-mode by jeffreytse 3 years ago
- Fix for completion display bug with tmux/IntelliJ IntelliJ terminal requires `zle redisplay` to be called but this breaks completion menus in non IntelliJ terminals. This uses an environment variabl... — committed to michaelorr/zsh-vi-mode by michaelorr 2 years ago
- fix: completion display bug with tmux/IntelliJ (#191) IntelliJ terminal requires `zle redisplay` to be called but this breaks completion menus in non IntelliJ terminals. This uses an environment ... — committed to jeffreytse/zsh-vi-mode by michaelorr 2 years ago
Hi @anuvyklack @StefanBoca
Thanks for your patience, now this issue has been addressed and fixed. Please update your plugin to the latest version and try again.
Thanks and Regards
I am also running into this issue. My environment is structurally the same as @weirongxu 's MacOS setup. Thank you so much for the workaround. Commenting out the
zle redisplay
fixes it for me. I’m leaving a comment just so you can gauge the impact and priority for this fix. Also, I’d hate to miss out on future updates because I’m no longer tracking upstream. Thanks so much for all your hard work on this plugin!Hi @anuvyklack
For the temporary solution, you can comment the line L3152 to disable redisplay as below:
Thanks & Regards
Same problem here. My environment:
General information
Linux
MacOS
Reproduction steps
~/.zshrc
ls
and press tab more than twice@jeffreytse My minimal
.zshrc
isIf I load the plugin directly without loading Oh My Zsh, though, the problem disappears: