From 804329970ba2bf3fa5ef03e6ca2ba7264b993c11 Mon Sep 17 00:00:00 2001 From: Alexey Yerin Date: Sat, 6 Feb 2021 11:14:24 +0300 Subject: terminal: Add support for Shift+Tab --- widgets/terminal.go | 1 + 1 file changed, 1 insertion(+) (limited to 'widgets/terminal.go') diff --git a/widgets/terminal.go b/widgets/terminal.go index 0277521..f47f671 100644 --- a/widgets/terminal.go +++ b/widgets/terminal.go @@ -67,6 +67,7 @@ func init() { keyMap[tcell.KeyCtrlUnderscore] = runeMod('_', vterm.ModCtrl) keyMap[tcell.KeyEnter] = directKey(vterm.KeyEnter) keyMap[tcell.KeyTab] = directKey(vterm.KeyTab) + keyMap[tcell.KeyBacktab] = keyMod(vterm.KeyTab, vterm.ModShift) keyMap[tcell.KeyBackspace] = directKey(vterm.KeyBackspace) keyMap[tcell.KeyEscape] = directKey(vterm.KeyEscape) keyMap[tcell.KeyUp] = directKey(vterm.KeyUp) -- cgit 1.4.1-2-gfad0