aboutsummaryrefslogtreecommitdiffstats
path: root/i_events.go
diff options
context:
space:
mode:
Diffstat (limited to 'i_events.go')
-rw-r--r--i_events.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/i_events.go b/i_events.go
index 9d5adce..8f1601b 100644
--- a/i_events.go
+++ b/i_events.go
@@ -97,14 +97,14 @@ func i_events(data *HardData) {
os.Exit(0)
} else if event.Rune() == 'j' ||
event.Key() == tcell.KeyDown {
- ui.inc_sel(+1, data)
+ ui.inc_cursor(+1, data)
} else if event.Rune() == 'k' ||
event.Key() == tcell.KeyUp {
- ui.inc_sel(-1, data)
+ ui.inc_cursor(-1, data)
} else if event.Key() == tcell.KeyCtrlD {
- ui.inc_sel(+(ui.dim[H] / 4), data)
+ ui.inc_cursor(+(ui.dim[H] / 4), data)
} else if event.Key() == tcell.KeyCtrlU {
- ui.inc_sel(-(ui.dim[H] / 4), data)
+ ui.inc_cursor(-(ui.dim[H] / 4), data)
} else if event.Rune() == 'g' {
data.litems.curr = data.litems.head
} else if event.Rune() == 'G' {