terminal: Add support for Shift+Tab

This commit is contained in:
Alexey Yerin 2021-02-06 11:14:24 +03:00 committed by Reto Brunner
parent 2d2010fd42
commit 804329970b

View file

@ -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)