summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorJulian Hurst <ark@mansus.space>2025-03-21 19:25:10 +0100
committerJulian Hurst <ark@mansus.space>2025-03-21 19:25:10 +0100
commit8833e41e377aec25b57df6c30b70ebee1e78c8df (patch)
tree30f6599335ead54c5d7cd7e3cc69918255be0c2a /cmd
parentc117966782fe826ae0146467dacb4ad20893046e (diff)
downloadhare-tui-8833e41e377aec25b57df6c30b70ebee1e78c8df.tar.gz
il: remove error prints
Diffstat (limited to 'cmd')
-rw-r--r--cmd/il.ha8
1 files changed, 0 insertions, 8 deletions
diff --git a/cmd/il.ha b/cmd/il.ha
index b6d1efb..74b4e76 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);