diff options
Diffstat (limited to 'i_events.go')
-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 |