diff options
author | Joe <rbo@gmx.us> | 2024-01-04 20:20:20 +0100 |
---|---|---|
committer | Joe <rbo@gmx.us> | 2024-01-04 20:20:20 +0100 |
commit | 303764a80bf0e4a79a463d2dd41b7baad6c38038 (patch) | |
tree | 21a2e67b3e7c274a7ccdce329187140f80c5eb35 /i_events.go | |
parent | works for now (diff) | |
download | hardflip-303764a80bf0e4a79a463d2dd41b7baad6c38038.tar.gz hardflip-303764a80bf0e4a79a463d2dd41b7baad6c38038.tar.bz2 hardflip-303764a80bf0e4a79a463d2dd41b7baad6c38038.tar.xz hardflip-303764a80bf0e4a79a463d2dd41b7baad6c38038.tar.zst hardflip-303764a80bf0e4a79a463d2dd41b7baad6c38038.zip |
awy
Diffstat (limited to '')
-rw-r--r-- | i_events.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/i_events.go b/i_events.go index 7f585de..614ef94 100644 --- a/i_events.go +++ b/i_events.go @@ -98,12 +98,12 @@ func i_events(data *HardData) { } else if event.Rune() == 'j' || event.Key() == tcell.KeyDown { if ui.line < ui.sel_max - 1 { - ui.inc_sel(1) + ui.inc_sel(1, data) } } else if event.Rune() == 'k' || event.Key() == tcell.KeyUp { if ui.line > 0 { - ui.inc_sel(-1) + ui.inc_sel(-1, data) } } else if event.Rune() == 'g' { ui.line = 0 |