cgmnlm

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

commit 0976b0e44655163a34d1b53e62a348cbf4335940
parent 9f98e013a6cd966cf4dc2d98187d6f0ba6f7fb5c
Author: Drew DeVault <sir@cmpwn.com>
Date:   Wed, 23 Sep 2020 12:55:12 -0400

Fix search command

Diffstat:
Msrc/gmnlm.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/gmnlm.c b/src/gmnlm.c @@ -246,7 +246,7 @@ do_prompts(const char *prompt, struct browser *browser) result = PROMPT_ANSWERED; goto exit; case '/': - if (in[1]) break; + if (!in[1]) break; if ((r = regcomp(&browser->regex, &in[1], REG_EXTENDED)) != 0) { static char buf[1024]; r = regerror(r, &browser->regex, buf, sizeof(buf));