From 833930892f9b2ace553cea3d8b60ecd878dd019a Mon Sep 17 00:00:00 2001 From: Joe Date: Wed, 10 Jan 2024 20:20:20 +0100 Subject: clean after why slow --- 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 372623e..8f2c675 100644 --- a/i_events.go +++ b/i_events.go @@ -208,9 +208,9 @@ func i_events(data *HardData) { event.Key() == tcell.KeyUp { data.litems.inc(-1) } else if event.Key() == tcell.KeyCtrlD { - data.litems.inc(+(ui.dim[H] / 3)) + data.litems.inc(+1000 + (ui.dim[H] / 3)) } else if event.Key() == tcell.KeyCtrlU { - data.litems.inc(-(ui.dim[H] / 3)) + data.litems.inc(-1000 - (ui.dim[H] / 3)) } else if event.Rune() == 'g' { data.litems.curr = data.litems.head data.litems.draw_start = data.litems.head -- cgit v1.2.3