Mercurial > vim
diff src/edit.c @ 28644:0c63014c2513 v8.2.4846
patch 8.2.4846: termcodes test fails
Commit: https://github.com/vim/vim/commit/bad8a013c238595aa206690210eb1367fbc878f9
Author: zeertzjq <zeertzjq@outlook.com>
Date: Fri Apr 29 16:44:00 2022 +0100
patch 8.2.4846: termcodes test fails
Problem: Termcodes test fails.
Solution: use CTRL-SHIFT-V to insert an unsimplified key. (closes https://github.com/vim/vim/issues/10316)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 29 Apr 2022 17:45:03 +0200 |
parents | 4dcccb2673fe |
children | c1591fa6f81a |
line wrap: on
line diff
--- a/src/edit.c +++ b/src/edit.c @@ -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) {