mirror of
https://github.com/vim/vim.git
synced 2025-07-26 11:04:33 -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:
parent
803af686e2
commit
b8d732e93e
@ -447,6 +447,8 @@ flush_buffers(flush_buffers_T flush_typeahead)
|
|||||||
typebuf.tb_silent = 0;
|
typebuf.tb_silent = 0;
|
||||||
cmd_silent = FALSE;
|
cmd_silent = FALSE;
|
||||||
typebuf.tb_no_abbr_cnt = 0;
|
typebuf.tb_no_abbr_cnt = 0;
|
||||||
|
if (++typebuf.tb_change_cnt == 0)
|
||||||
|
typebuf.tb_change_cnt = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -754,6 +754,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
1377,
|
||||||
/**/
|
/**/
|
||||||
1376,
|
1376,
|
||||||
/**/
|
/**/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user