summary refs log tree commit diff stats
path: root/widgets
diff options
context:
space:
mode:
authorAlexey Yerin <yyp@disroot.org>2021-02-06 11:14:24 +0300
committerReto Brunner <reto@labrat.space>2021-02-07 10:11:31 +0100
commit804329970ba2bf3fa5ef03e6ca2ba7264b993c11 (patch)
tree65290c88b4f08a9b9e21d03900e6ae9d4a7fe000 /widgets
parent2d2010fd42708885f0da85835ce368dd1329e844 (diff)
downloadaerc-804329970ba2bf3fa5ef03e6ca2ba7264b993c11.tar.gz
terminal: Add support for Shift+Tab
Diffstat (limited to 'widgets')
-rw-r--r--widgets/terminal.go1
1 files changed, 1 insertions, 0 deletions
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)