diff options
| author | Přemysl Eric Janouch <p@janouch.name> | 2026-03-23 02:59:56 +0100 |
|---|---|---|
| committer | Přemysl Eric Janouch <p@janouch.name> | 2026-03-23 03:01:14 +0100 |
| commit | 4c4a64bff49df487d9de0b50300fff2f32bcf3a7 (patch) | |
| tree | 8f452690fc1556d86bd5ee4d98eee1b5406007d6 /sdn.cpp | |
| parent | d1e54fee0d442b601c6d9b69ae8666f6a589eb52 (diff) | |
| download | sdn-4c4a64bff49df487d9de0b50300fff2f32bcf3a7.tar.gz sdn-4c4a64bff49df487d9de0b50300fff2f32bcf3a7.tar.xz sdn-4c4a64bff49df487d9de0b50300fff2f32bcf3a7.zip | |
Move pages by visible linesHEADorigin/mastermaster
Diffstat (limited to 'sdn.cpp')
| -rw-r--r-- | sdn.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1636,10 +1636,10 @@ fun handle (Key k) -> bool { break; case ACTION_PAGE_PREVIOUS: - g.cursor -= LINES; + g.cursor -= visible_lines (); break; case ACTION_PAGE_NEXT: - g.cursor += LINES; + g.cursor += visible_lines (); break; case ACTION_SCROLL_DOWN: g.offset++; |
