From 9d933461840ab1a81315300f70f35efc302fa2b2 Mon Sep 17 00:00:00 2001 From: Pieter van Loon Date: Sun, 2 Jan 2022 12:25:51 +0100 Subject: [PATCH] Add support for Backtab key --- keybinding.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/keybinding.go b/keybinding.go index 683423b..b4e1fc7 100644 --- a/keybinding.go +++ b/keybinding.go @@ -154,6 +154,7 @@ var translate = map[string]Key{ "Backspace": KeyBackspace, "CtrlH": KeyCtrlH, "Tab": KeyTab, + "Backtab": KeyBacktab, "CtrlI": KeyCtrlI, "CtrlJ": KeyCtrlJ, "CtrlK": KeyCtrlK, @@ -235,6 +236,7 @@ const ( KeyBackspace = Key(tcell.KeyBackspace) KeyCtrlH = Key(tcell.KeyCtrlH) KeyTab = Key(tcell.KeyTab) + KeyBacktab = Key(tcell.KeyBacktab) KeyCtrlI = Key(tcell.KeyCtrlI) KeyCtrlJ = Key(tcell.KeyCtrlJ) KeyCtrlK = Key(tcell.KeyCtrlK)