diff options
author | Bram Moolenaar <Bram@vim.org> | 2018-02-16 20:01:04 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2018-02-16 20:01:04 +0100 |
commit | 73cddfd559152ea9b7e978ea7cf9c0d3a41e7316 (patch) | |
tree | e13752e364857f92c50fc82ed8ba9ba2d3cd2ee2 /src/terminal.c | |
parent | 181ca99e163b145cd1a4ec47a50cc25cf3994109 (diff) | |
download | vim-git-73cddfd559152ea9b7e978ea7cf9c0d3a41e7316.tar.gz |
patch 8.0.1521: Shift-Tab does not work in a terminal windowv8.0.1521
Problem: Shift-Tab does not work in a terminal window.
Solution: Recognize Shift-Tab key press. (Jsees Luehrs, closes #2644)
Diffstat (limited to 'src/terminal.c')
-rw-r--r-- | src/terminal.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/terminal.c b/src/terminal.c index 039c8b26b..b0c961b61 100644 --- a/src/terminal.c +++ b/src/terminal.c @@ -43,7 +43,6 @@ * - in GUI vertical split causes problems. Cursor is flickering. (Hirohito * Higashi, 2017 Sep 19) * - Trigger TerminalOpen event? #2422 patch in #2484 - * - Shift-Tab does not work. * - after resizing windows overlap. (Boris Staletic, #2164) * - Redirecting output does not work on MS-Windows, Test_terminal_redir_file() * is disabled. @@ -869,6 +868,8 @@ term_convert_key(term_T *term, int c, char *buf) case K_S_UP: mod = VTERM_MOD_SHIFT; key = VTERM_KEY_UP; break; case TAB: key = VTERM_KEY_TAB; break; + case K_S_TAB: mod = VTERM_MOD_SHIFT; + key = VTERM_KEY_TAB; break; case K_MOUSEUP: other = term_send_mouse(vterm, 5, 1); break; case K_MOUSEDOWN: other = term_send_mouse(vterm, 4, 1); break; |