mirror of
https://github.com/neovim/neovim.git
synced 2025-09-07 20:08:17 +00:00
fix(events): trigger VimResume on next UI request
(cherry picked from commit cdd076d6c1
)
This commit is contained in:

committed by
github-actions[bot]
![github-actions[bot]](/assets/img/avatar_default.png)
parent
d82f386201
commit
e8ff921ed3
@@ -305,6 +305,7 @@ void nvim_feedkeys(String keys, String mode, Boolean escape_ks)
|
||||
Integer nvim_input(String keys)
|
||||
FUNC_API_SINCE(1) FUNC_API_FAST
|
||||
{
|
||||
may_trigger_vim_suspend_resume(false);
|
||||
return (Integer)input_enqueue(keys);
|
||||
}
|
||||
|
||||
@@ -334,6 +335,8 @@ void nvim_input_mouse(String button, String action, String modifier, Integer gri
|
||||
Integer col, Error *err)
|
||||
FUNC_API_SINCE(6) FUNC_API_FAST
|
||||
{
|
||||
may_trigger_vim_suspend_resume(false);
|
||||
|
||||
if (button.data == NULL || action.data == NULL) {
|
||||
goto error;
|
||||
}
|
||||
|
Reference in New Issue
Block a user