Open jiaming-shi opened 5 years ago
Thanks for the report. Please see if this branch fixes this issue.
Thanks for the quick fix, it basically works, but still have some problems.
In addition, if I did not complete a mapping in which-key in the first step, then pressing any key in the second step has no effect, the whole interface is stuck, I can only kill the neovim process to quit. If I have done a mapping in the first step, then in the second step, when I complete a mapping again, the window will become blank, then by pressing esc or other keys, the contents of the window will be refreshed, but the size is the first step size not fullscreen size.
After these three steps, I will encounter the same problem in scene 1.
Confirmed. After some investigation, I found it's probably getchar()
that somehow leads to the VimResized
event not triggered. It may not be that easy to figure this out, so currently there is not any workaround for this issue. Sorry about that and I'll keep looking for a solution.
Thank you for your prompt reply, the scenes I mentioned are not common usage cases, so it will not affect the normal use of this plugin, and I will also try to find a solution.
OS: Ubuntu 18.04
Vim: Neovim 0.3.1
If you think it's a bug, please provide a minimal vimrc to reproduce:
Problem Description
If I press
<Space>
to active which-key, then resize neovim pane size in tmux, the neovim pane become blank until I press<ESC>
to quit which-key or complete some mapping in which-key table.