cgmnlm

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

commit def47c8b04aacc2074e6f65d3b7ebeb65dee927c
parent 238663dab074de51a98d28228dd10a9bdecb7ce5
Author: René Wagner <rwa@clttr.info>
Date:   Wed, 12 Apr 2023 11:09:52 +0200

use uppercase K for bookmark deletion

Diffstat:
MREADME.md | 2+-
Msrc/gmnlm.c | 4++--
2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/README.md b/README.md @@ -28,7 +28,7 @@ It includes the following modifications: * default 4 char indenting * `s` command to directly search in geminispace (via geminispace.info) * `l` command to search for backlinks to current URI (via geminispace.info) -* `k` command to remove the bookmark for the current page +* `K` command to remove the bookmark for the current page * `u` command to navigate 1 path element up * `e[N]` command to open a link or the current URI in default external program (requires `xdg-open`) * `t[N]` command to download the content behind a link or the current URI to a temporary file diff --git a/src/gmnlm.c b/src/gmnlm.c @@ -101,7 +101,7 @@ const char *help_msg = "H\t\tView all page history\n" "m [title]\t\tSave bookmark for current page (uses first header as name if title is omitted)\n" "M\t\tBrowse bookmarks\n" - "k\t\tRemove bookmark for current page\n" + "K\t\tRemove bookmark for current page\n" "r\t\tReload the page\n" "s\t\tSearch via geminispace.info\n" "l\t\tSearch backlinks to current page via geminispace.info\n" @@ -794,7 +794,7 @@ do_prompts(const char *prompt, struct browser *browser) open_bookmarks(browser); result = PROMPT_ANSWERED; goto exit; - case 'k': + case 'K': if (in[1]) break; remove_bookmark(browser); result = PROMPT_AGAIN;