mirror of
https://github.com/neovim/neovim.git
synced 2025-09-26 21:18:34 +00:00
vim-patch:8.2.1377: triggering the ATTENTION prompt causes typeahead mess up
Problem: Triggering the ATTENTION prompt causes typeahead to be messed up.
Solution: Increment tb_change_cnt. (closes vim/vim#6541)
b8d732e93e
This commit is contained in:
@@ -456,6 +456,9 @@ void flush_buffers(flush_buffers_T flush_typeahead)
|
||||
typebuf.tb_silent = 0;
|
||||
cmd_silent = false;
|
||||
typebuf.tb_no_abbr_cnt = 0;
|
||||
if (++typebuf.tb_change_cnt == 0) {
|
||||
typebuf.tb_change_cnt = 1;
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user