diff options
Diffstat (limited to 'nav.c')
-rw-r--r-- | nav.c | 5 |
1 files changed, 5 insertions, 0 deletions
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); +} |