patch 8.2.4846: termcodes test fails
Problem: Termcodes test fails.
Solution: use CTRL-SHIFT-V to insert an unsimplified key. (closes #10316)
diff --git a/src/edit.c b/src/edit.c
index 3790bfb..61c1694 100644
--- a/src/edit.c
+++ b/src/edit.c
@@ -1899,7 +1899,11 @@
* 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 @@
--no_mapping;
#ifdef FEAT_GUI
if (gui.in_use)
+ {
--allow_keys;
+ if (noReduceKeys)
+ --no_reduce_keys;
+ }
#endif
if (nc)
{