mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
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 #6541)
This commit is contained in:
@@ -447,6 +447,8 @@ 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