diff options
author | Hubert Hirtz <hubert@hirtzfr.eu> | 2020-08-10 10:35:22 +0200 |
---|---|---|
committer | Hubert Hirtz <hubert@hirtzfr.eu> | 2020-08-10 10:43:09 +0200 |
commit | 54b100869a7473716b3f0146053b8f4fe9898fe1 (patch) | |
tree | 38defd77511d4b3e8e11ce241b8e54cf21428bb6 /app.go | |
parent | Actually the rune width issue is from alacritty (diff) |
editor: Handle UP and DOWN keys
Diffstat (limited to 'app.go')
-rw-r--r-- | app.go | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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: |