1
0
mirror of https://git.sr.ht/~sircmpwn/gmni synced 2024-11-23 04:51:59 +01:00

Add 'r' to reload

This commit is contained in:
Eyal Sawady 2020-09-24 02:09:39 -04:00 committed by Drew DeVault
parent 5fd43e8d02
commit f80e4037c2

@ -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);