mirror of
https://github.com/neovim/neovim.git
synced 2025-09-27 05:28:33 +00:00
vim-patch:8.2.2833: two key command cancelled by moving mouse when using popup
Problem: Two key command cancelled by moving mouse when using popup.
(Sergey Vlasov)
Solution: Ignore K_MOUSEMOVE in plain_vgetc().
3a00659db7
This commit is contained in:
@@ -1586,7 +1586,9 @@ int plain_vgetc(void)
|
|||||||
|
|
||||||
do {
|
do {
|
||||||
c = safe_vgetc();
|
c = safe_vgetc();
|
||||||
} while (c == K_IGNORE || c == K_VER_SCROLLBAR || c == K_HOR_SCROLLBAR);
|
} while (c == K_IGNORE
|
||||||
|
|| c == K_VER_SCROLLBAR || c == K_HOR_SCROLLBAR
|
||||||
|
|| c == K_MOUSEMOVE);
|
||||||
return c;
|
return c;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user