Patch 8.2.1377
Problem: Triggering the ATTENTION prompt causes typeahead to be messed up.
Solution: Increment tb_change_cnt. (closes #6541)
Files: src/getchar.c
*** ../vim-8.2.1376/src/getchar.c 2020-07-09 19:16:31.378955705 +0200
--- src/getchar.c 2020-08-05 22:04:49.835635982 +0200
***************
*** 447,452 ****
--- 447,454 ----
typebuf.tb_silent = 0;
cmd_silent = FALSE;
typebuf.tb_no_abbr_cnt = 0;
+ if (++typebuf.tb_change_cnt == 0)
+ typebuf.tb_change_cnt = 1;
}
/*
*** ../vim-8.2.1376/src/version.c 2020-08-05 16:19:57.859592754 +0200
--- src/version.c 2020-08-05 21:58:14.124059868 +0200
***************
*** 756,757 ****
--- 756,759 ----
{ /* Add new patch number below this line */
+ /**/
+ 1377,
/**/
--
hundred-and-one symptoms of being an internet addict:
130. You can't get out of your desk even if it's time to eat or time
to go to the bathroom.
/// Bram Moolenaar -- Br...@Moolenaar.net --
http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features --
http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language --
http://www.Zimbu.org ///
\\\ help me help AIDS victims --
http://ICCF-Holland.org ///