diff options
-rw-r--r-- | app/listbox.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/listbox.go b/app/listbox.go index 5a80261e..02118d2a 100644 --- a/app/listbox.go +++ b/app/listbox.go @@ -252,11 +252,11 @@ func (lb *ListBox) Event(event tcell.Event) bool { lb.horizPos = len(lb.selected) lb.Invalidate() return true - case tcell.KeyCtrlP, tcell.KeyUp: + case tcell.KeyCtrlP, tcell.KeyUp, tcell.KeyBacktab: lb.moveCursor(-1) lb.Invalidate() return true - case tcell.KeyCtrlN, tcell.KeyDown: + case tcell.KeyCtrlN, tcell.KeyDown, tcell.KeyTab: lb.moveCursor(+1) lb.Invalidate() return true |