0
0
mirror of https://github.com/vim/vim.git synced 2025-09-27 04:14:06 -04:00

patch 8.2.4846: termcodes test fails

Problem:    Termcodes test fails.
Solution:   use CTRL-SHIFT-V to insert an unsimplified key. (closes #10316)
This commit is contained in:
zeertzjq
2022-04-29 16:44:00 +01:00
committed by Bram Moolenaar
parent 590f365f91
commit bad8a013c2
5 changed files with 14 additions and 3 deletions

View File

@@ -1899,7 +1899,11 @@ get_literal(int noReduceKeys)
* vi-compatible (maybe there should be an option for it?) -- webb
*/
if (gui.in_use)
{
++allow_keys;
if (noReduceKeys)
++no_reduce_keys;
}
#endif
#ifdef USE_ON_FLY_SCROLL
dont_scroll = TRUE; // disallow scrolling here
@@ -1992,7 +1996,11 @@ get_literal(int noReduceKeys)
--no_mapping;
#ifdef FEAT_GUI
if (gui.in_use)
{
--allow_keys;
if (noReduceKeys)
--no_reduce_keys;
}
#endif
if (nc)
{