To: vim_dev@googlegroups.com Subject: Patch 8.0.1521 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 8.0.1521 Problem: Shift-Tab does not work in a terminal window. Solution: Recognize Shift-Tab key press. (Jsees Luehrs, closes #2644) Files: src/terminal.c *** ../vim-8.0.1520/src/terminal.c 2018-02-13 21:19:17.450701577 +0100 --- src/terminal.c 2018-02-16 19:59:52.682456048 +0100 *************** *** 43,49 **** * - 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. --- 43,48 ---- *************** *** 869,874 **** --- 868,875 ---- 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; *** ../vim-8.0.1520/src/version.c 2018-02-13 21:19:17.450701577 +0100 --- src/version.c 2018-02-16 19:58:59.634706381 +0100 *************** *** 773,774 **** --- 773,776 ---- { /* Add new patch number below this line */ + /**/ + 1521, /**/ -- Be nice to your kids... they'll be the ones choosing your nursing home. /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ an exciting new programming language -- http://www.Zimbu.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org ///