summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Hurst <ark@mansus.space>2025-03-21 19:25:19 +0100
committerJulian Hurst <ark@mansus.space>2025-03-21 19:25:19 +0100
commite21e080560dd2e249ec2008ae9a262fbb71b1647 (patch)
treea53999759de82f5c6bffe15871cca299f9b06e8b
parentc5c9ba1d277859ce48ba3bfb77e05b2cc0b0fe3e (diff)
parent8833e41e377aec25b57df6c30b70ebee1e78c8df (diff)
downloadhare-tui-e21e080560dd2e249ec2008ae9a262fbb71b1647.tar.gz
Merge branch 'master' into nomem
-rw-r--r--cmd/il.ha8
1 files changed, 0 insertions, 8 deletions
diff --git a/cmd/il.ha b/cmd/il.ha
index cb7346f..afd29d2 100644
--- a/cmd/il.ha
+++ b/cmd/il.ha
@@ -63,19 +63,11 @@ export fn main() void = {
};
if (r == 'd') {
const nextpage = li.cursor + li.frame.end - li.frame.start;
- fmt::errorln(nextpage)!;
list::setcursor(&li, nextpage);
- fmt::errorln(li.frame.start)!;
- fmt::errorln(li.frame.end)!;
- fmt::errorln()!;
};
if (r == 'u') {
const prevpage = li.cursor - (li.frame.end - li.frame.start);
- fmt::errorln(prevpage)!;
list::setcursor(&li, prevpage);
- fmt::errorln(li.frame.start)!;
- fmt::errorln(li.frame.end)!;
- fmt::errorln()!;
};
if (r == 'g') {
list::top(&li);