gmni

a gemini line mode client
git clone https://git.clttr.info/gmni.git
Log (Feed) | Files | Refs (Tags) | README | LICENSE

commit 3952e1abb77ef9003582ae26aba48ba58cc5ad84
parent 1dfc0cca7219a31955550c8eb51b46d98839a1ba
Author: Ondřej Fiala <ofiala@airmail.cc>
Date:   Thu, 11 Apr 2024 11:45:19 +0200

gmnlm: add "redisplay" command

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

diff --git a/src/gmnlm.c b/src/gmnlm.c @@ -101,6 +101,7 @@ const char *help_msg = "m [title]\r\t\tSave bookmark\n" "M\r\t\tBrowse bookmarks\n" "r\r\t\tReload the page\n" + "R\r\t\tRedisplay the page\n" "i\r\t\tShow MIME type parameters\n" "d[N] [path]\r\t\tDownload page, or Nth link, to path\n" "[N]|<prog>\r\t\tPipe page, or Nth link, into program\n" @@ -710,6 +711,9 @@ do_prompts(const char *prompt, struct browser *browser) } print_toc(browser->tty, browser->headings); goto exit; + case 'R': + result = PROMPT_RELOAD; + goto exit; case '#': if (!in[1]) { fprintf(stderr, "Error: missing argument.\n");