From 303764a80bf0e4a79a463d2dd41b7baad6c38038 Mon Sep 17 00:00:00 2001 From: Joe Date: Thu, 4 Jan 2024 20:20:20 +0100 Subject: awy --- i_events.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'i_events.go') 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 -- cgit v1.2.3