aboutsummaryrefslogtreecommitdiffstats
path: root/i_events.go
diff options
context:
space:
mode:
authorJoe <rbo@gmx.us>2024-01-08 20:20:20 +0100
committerJoe <rbo@gmx.us>2024-01-08 20:20:20 +0100
commit11d77266303a0229d42238c0cfa4b61628181641 (patch)
treebfbfb81589cfebf04668dc998785a507972532a3 /i_events.go
parentmovement (diff)
downloadhardflip-11d77266303a0229d42238c0cfa4b61628181641.tar.gz
hardflip-11d77266303a0229d42238c0cfa4b61628181641.tar.bz2
hardflip-11d77266303a0229d42238c0cfa4b61628181641.tar.xz
hardflip-11d77266303a0229d42238c0cfa4b61628181641.tar.zst
hardflip-11d77266303a0229d42238c0cfa4b61628181641.zip
coolio
Diffstat (limited to 'i_events.go')
-rw-r--r--i_events.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/i_events.go b/i_events.go
index 1a8b4ca..9d5adce 100644
--- a/i_events.go
+++ b/i_events.go
@@ -102,7 +102,7 @@ func i_events(data *HardData) {
event.Key() == tcell.KeyUp {
ui.inc_sel(-1, data)
} else if event.Key() == tcell.KeyCtrlD {
- ui.inc_sel(ui.dim[H] / 4, data)
+ ui.inc_sel(+(ui.dim[H] / 4), data)
} else if event.Key() == tcell.KeyCtrlU {
ui.inc_sel(-(ui.dim[H] / 4), data)
} else if event.Rune() == 'g' {