diff options
author | wrmr | 2024-11-03 12:12:20 -0500 |
---|---|---|
committer | wrmr | 2024-11-03 12:12:20 -0500 |
commit | ce088cbf9c3a73e9f9ed3012d31dd6e989d86052 (patch) | |
tree | 2fdc9ca366f8a42f919ca8e3577c8079dd102965 /main.c | |
parent | 3e9c75318b0eb1114fb7361dbc467990674804b6 (diff) |
file:// plaintext reading complete, add nav_next/nav_prev
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 6 |
1 files changed, 6 insertions, 0 deletions
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; |