cgmnlm

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

commit c9fa82e9921722c4cf908c11e765c83bc42fed0a
parent 4a04bdc01c9a1036865b6a171a696069e754b336
Author: René Wagner <rwa@clttr.info>
Date:   Mon, 13 Nov 2023 08:05:25 +0100

cosmetics

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

diff --git a/src/gmnlm.c b/src/gmnlm.c @@ -1093,11 +1093,11 @@ display_gemini(struct browser *browser, struct gemini_response *resp) if (searching) { out = fopen("/dev/null", "w+"); } + bool alttext_printed = false; fprintf(out, "\n"); char *text = NULL; int row = 0, col = 0; - bool alttext_printed = false; struct gemini_token tok; struct link **next = &browser->links; // When your screen is too narrow, more lines will be used for helptext and URL. @@ -1214,9 +1214,9 @@ repeat: col -= ws.ws_col; ++row; } + fprintf(out, ANSI_COLOR_RESET); ++row; col = 0; - fprintf(out, ANSI_COLOR_RESET); if (browser->pagination && row >= ws.ws_row - info_rows) { char prompt[4096]; char *end = NULL;