diff options
| author | Julian Hurst <julian.hurst92@gmail.com> | 2022-05-16 18:19:41 +0200 |
|---|---|---|
| committer | Julian Hurst <julian.hurst92@gmail.com> | 2022-05-16 18:19:41 +0200 |
| commit | dbf800f59831852ace25f95d92875fe360735566 (patch) | |
| tree | 407c1aa7b0f87ff1334d0530430cd070dd010854 /main.ha | |
| parent | 7c28c776accb0c4e717403b75a38d22a472049ec (diff) | |
| download | ilhare-dbf800f59831852ace25f95d92875fe360735566.tar.gz | |
Add page up and page down
Diffstat (limited to 'main.ha')
| -rw-r--r-- | main.ha | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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); |
