commit | db08887f24d20be11d184ce321bc0890613e42bd | [log] [tgz] |
---|---|---|
author | zeertzjq <zeertzjq@outlook.com> | Mon May 02 22:53:45 2022 +0100 |
committer | Bram Moolenaar <Bram@vim.org> | Mon May 02 22:53:45 2022 +0100 |
tree | 6e9feb7b98be9323db3220951107c1d2edd01d57 | |
parent | f4f579b46b27f5e1689912a3e84c6a2a96efd143 [diff] [blame] |
patch 8.2.4858: K_SPECIAL may be escaped twice Problem: K_SPECIAL may be escaped twice. Solution: Avoid double escaping. (closes #10340)
diff --git a/src/term.c b/src/term.c index 4044d75..bf5943d 100644 --- a/src/term.c +++ b/src/term.c
@@ -6104,7 +6104,7 @@ #endif slen = trans_special(&src, result + dlen, FSK_KEYCODE | ((flags & REPTERM_NO_SIMPLIFY) ? 0 : FSK_SIMPLIFY), - did_simplify); + TRUE, did_simplify); if (slen) { dlen += slen;