aboutsummaryrefslogtreecommitdiff
path: root/main.ha
diff options
context:
space:
mode:
authorJulian Hurst <julian.hurst92@gmail.com>2022-05-16 18:19:41 +0200
committerJulian Hurst <julian.hurst92@gmail.com>2022-05-16 18:19:41 +0200
commitdbf800f59831852ace25f95d92875fe360735566 (patch)
tree407c1aa7b0f87ff1334d0530430cd070dd010854 /main.ha
parent7c28c776accb0c4e717403b75a38d22a472049ec (diff)
downloadilhare-dbf800f59831852ace25f95d92875fe360735566.tar.gz
Add page up and page down
Diffstat (limited to 'main.ha')
-rw-r--r--main.ha4
1 files changed, 4 insertions, 0 deletions
diff --git a/main.ha b/main.ha
index 0aeda39..1af7662 100644
--- a/main.ha
+++ b/main.ha
@@ -35,6 +35,10 @@ fn runehandler(l: *widget::widget, r: rune) bool = {
list::down(l);
case 'k' =>
list::up(l);
+ case 'd' =>
+ list::pagedown(l);
+ case 'u' =>
+ list::pageup(l);
case 'l' =>
// to print properly suspend the ui, print, then resume
libui::suspend(&l.ui);