From a3f7fb80590705c1a7d7b42edd8f5f1362f09cfa Mon Sep 17 00:00:00 2001 From: wrmr Date: Wed, 6 Nov 2024 02:09:26 -0500 Subject: MORE prompt --- nav.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'nav.c') diff --git a/nav.c b/nav.c index 0a3e773..8456a76 100644 --- a/nav.c +++ b/nav.c @@ -129,3 +129,8 @@ int nav_link_nr(struct nav_state *ns, unsigned long link_nr) { } return 0; } + +void nav_prompt(struct nav_state *ns) { + int m = doc_line_nextp(&ns->histv[ns->cur_doc], ns->cur_ofs[ns->cur_doc]); + fputs(m ? "MORE* " : "* ", stdout); +} -- cgit 1.4.1-2-gfad0