diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-11-26 19:33:22 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-11-26 19:33:22 +0100 |
commit | fc4ea2a72d36de1196a3ce17352e72f8fe90f4bb (patch) | |
tree | d5d681840040dc4e36b94bb94cef2cb972c052b0 /src/term.c | |
parent | cc4423ae13d78367a3d0b5756783523d3b3a1d31 (diff) | |
download | vim-git-fc4ea2a72d36de1196a3ce17352e72f8fe90f4bb.tar.gz |
patch 8.1.2350: other text for CTRL-V in Insert mode with modifyOtherKeysv8.1.2350
Problem: Other text for CTRL-V in Insert mode with modifyOtherKeys.
Solution: Convert the Escape sequence back to key as if modifyOtherKeys is
not set, and use CTRL-SHIFT-V to get the Escape sequence itself.
(closes #5254)
Diffstat (limited to 'src/term.c')
-rw-r--r-- | src/term.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/term.c b/src/term.c index 83268c71c..c7ac81c9c 100644 --- a/src/term.c +++ b/src/term.c @@ -4277,7 +4277,7 @@ put_string_in_typebuf( /* * Decode a modifier number as xterm provides it into MOD_MASK bits. */ - static int + int decode_modifiers(int n) { int code = n - 1; |