You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
Thanks for the quick fix, it basically works, but still have some problems.
Scene 1
step 1: If I open neovim in a small window, activate which-key,
step 2: and then maximize the window, which-key is correctly re-arranged.
step 3: But if I restore to the previous small window, which-key will maintain the layout in full screen state, will not rearrange, resulting in some content not visible.
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.
Scene 2
start in fullscreen
resize to a small size
return to fullscreen
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.The text was updated successfully, but these errors were encountered: