diff options
author | Alexey Yerin <yyp@disroot.org> | 2021-02-06 11:14:24 +0300 |
---|---|---|
committer | Reto Brunner <reto@labrat.space> | 2021-02-07 10:11:31 +0100 |
commit | 804329970ba2bf3fa5ef03e6ca2ba7264b993c11 (patch) | |
tree | 65290c88b4f08a9b9e21d03900e6ae9d4a7fe000 | |
parent | 2d2010fd42708885f0da85835ce368dd1329e844 (diff) | |
download | aerc-804329970ba2bf3fa5ef03e6ca2ba7264b993c11.tar.gz |
terminal: Add support for Shift+Tab
-rw-r--r-- | widgets/terminal.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/widgets/terminal.go b/widgets/terminal.go index 02775215..f47f671d 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) |