diff options
author | bfredl <bjorn.linse@gmail.com> | 2022-09-18 11:37:22 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-18 11:37:22 +0200 |
commit | e63538f21c90112faafc65ae12766d1f9abd5bc0 (patch) | |
tree | f211af5f1926cb1fdde6083f2b51a52241c19967 /src/nvim/getchar.c | |
parent | 6d557e324fd4223fff3279a0112f40431c540163 (diff) | |
parent | 644a3f48b117abd1d0d0aab5ec96cd62392ca0f1 (diff) | |
download | rneovim-e63538f21c90112faafc65ae12766d1f9abd5bc0.tar.gz rneovim-e63538f21c90112faafc65ae12766d1f9abd5bc0.tar.bz2 rneovim-e63538f21c90112faafc65ae12766d1f9abd5bc0.zip |
Merge pull request #20198 from zeertzjq/cursorhold
fix(events): make CursorHold behave as documented
Diffstat (limited to 'src/nvim/getchar.c')
-rw-r--r-- | src/nvim/getchar.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/getchar.c b/src/nvim/getchar.c index c93810df8d..fd0acce25f 100644 --- a/src/nvim/getchar.c +++ b/src/nvim/getchar.c @@ -1666,7 +1666,7 @@ static void getchar_common(typval_T *argvars, typval_T *rettv) if (!char_avail()) { // flush output before waiting ui_flush(); - (void)os_inchar(NULL, 0, -1, 0, main_loop.events); + (void)os_inchar(NULL, 0, -1, typebuf.tb_change_cnt, main_loop.events); if (!multiqueue_empty(main_loop.events)) { state_handle_k_event(); continue; |