cgmnlm

colorful gemini line mode browser
git clone https://git.clttr.info/cgmnlm.git
Log (Feed) | Files | Refs (Tags) | README | LICENSE

commit f80e4037c21c87b11b7b4bfefba5d33a0fcc1ea6
parent 5fd43e8d02ffea38b5e4a3531e366f2b9b510201
Author: Eyal Sawady <ecs@d2evs.net>
Date:   Thu, 24 Sep 2020 02:09:39 -0400

Add 'r' to reload

Diffstat:
Msrc/gmnlm.c | 5+++++
1 file changed, 5 insertions(+), 0 deletions(-)

diff --git a/src/gmnlm.c b/src/gmnlm.c @@ -63,6 +63,7 @@ const char *help_msg = "H\tView all page history\n" "m\tSave bookmark\n" "M\tBrowse bookmarks\n" + "r\tReload the page\n" "\n" "Other commands include:\n\n" "<Enter>\tread more lines\n" @@ -300,6 +301,10 @@ do_prompts(const char *prompt, struct browser *browser) } result = PROMPT_AGAIN; goto exit; + case 'r': + if (in[1]) break; + result = PROMPT_ANSWERED; + goto exit; case '?': if (in[1]) break; fprintf(browser->tty, "%s", help_msg);