summaryrefslogtreecommitdiff
path: root/app.go
diff options
context:
space:
mode:
authorHubert Hirtz <hubert@hirtzfr.eu>2020-08-10 10:35:22 +0200
committerHubert Hirtz <hubert@hirtzfr.eu>2020-08-10 10:43:09 +0200
commit54b100869a7473716b3f0146053b8f4fe9898fe1 (patch)
tree38defd77511d4b3e8e11ce241b8e54cf21428bb6 /app.go
parentActually the rune width issue is from alacritty (diff)
editor: Handle UP and DOWN keys
Diffstat (limited to 'app.go')
-rw-r--r--app.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/app.go b/app.go
index 90ba980..8263c9e 100644
--- a/app.go
+++ b/app.go
@@ -232,6 +232,10 @@ func (app *App) handleUIEvent(ev tcell.Event) {
} else {
app.win.InputLeft()
}
+ case tcell.KeyUp:
+ app.win.InputUp()
+ case tcell.KeyDown:
+ app.win.InputDown()
case tcell.KeyHome:
app.win.InputHome()
case tcell.KeyEnd: