From ce088cbf9c3a73e9f9ed3012d31dd6e989d86052 Mon Sep 17 00:00:00 2001 From: wrmr Date: Sun, 3 Nov 2024 12:12:20 -0500 Subject: file:// plaintext reading complete, add nav_next/nav_prev --- main.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'main.c') diff --git a/main.c b/main.c index 0c36a34..738a3e9 100644 --- a/main.c +++ b/main.c @@ -50,6 +50,12 @@ int cmd_do(char *cmd, struct nav_state *ns) { case 'g': if (nav_to(ns, cmd + 1)) perr("navigation failure"); break; + case 'p': + nav_prev(ns); + break; + case 'n': + nav_next(ns); + break; default: perr("?"); break; -- cgit 1.4.1-2-gfad0