diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-05-30 21:52:54 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-05-30 21:52:54 +0200 |
commit | ebe9d34aa07037cff2188a8dd424ee1f59cbb0bf (patch) | |
tree | 6e92c722c69a459f6537148ac8579c0fa4f27b85 /src/term.c | |
parent | 363d6148dfc2cc17fb0d286c7a36c305f56f5813 (diff) | |
download | vim-git-ebe9d34aa07037cff2188a8dd424ee1f59cbb0bf.tar.gz |
patch 8.2.0855: GUI tests fail because the test doesn't use a modifierv8.2.0855
Problem: GUI tests fail because the test doesn't use a modifier.
Solution: Add "\{xxx}" to be able to encode a modifier.
Diffstat (limited to 'src/term.c')
-rw-r--r-- | src/term.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/term.c b/src/term.c index 7c92f3e75..f93fde84b 100644 --- a/src/term.c +++ b/src/term.c @@ -5488,8 +5488,9 @@ replace_termcodes( } #endif - slen = trans_special(&src, result + dlen, TRUE, FALSE, - (flags & REPTERM_NO_SIMPLIFY) == 0, did_simplify); + slen = trans_special(&src, result + dlen, FSK_KEYCODE + | ((flags & REPTERM_NO_SIMPLIFY) ? 0 : FSK_SIMPLIFY), + did_simplify); if (slen) { dlen += slen; |