commit 1f8c45ce3f7f20c040cd24ab8be13d2c0898929c
parent b127d7439f97b8a0de617fd217cef9f71a314bc3
Author: René Wagner <rwa@clttr.info>
Date: Fri, 1 Apr 2022 18:32:33 +0200
switch program name and url in terminal title
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/gmnlm.c b/src/gmnlm.c
@@ -1181,7 +1181,7 @@ display_response(struct browser *browser, struct gemini_response *resp)
if (gemini_response_class(resp->status) != GEMINI_STATUS_CLASS_SUCCESS) {
return false;
}
- printf("%c]0;%s%s%c", '\033', "cgmnlm - ", browser->plain_url, '\007');
+ printf("%c]0;%s%s%c", '\033', browser->plain_url, " - cgmnlm", '\007');
if (strcmp(resp->meta, "text/gemini") == 0
|| strncmp(resp->meta, "text/gemini;", 12) == 0) {
return display_gemini(browser, resp);