summaryrefslogtreecommitdiff
path: root/tui/event.go
diff options
context:
space:
mode:
Diffstat (limited to 'tui/event.go')
-rw-r--r--tui/event.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/tui/event.go b/tui/event.go
index 4d0a535..997a8a4 100644
--- a/tui/event.go
+++ b/tui/event.go
@@ -62,6 +62,9 @@ func Events() <-chan Event {
}
ev.TextInput = r
}
+ if kev.Key == keys.Tab {
+ ev.TextInput = '\t'
+ }
switch kev.Key {
case keys.Mouse: