From 81daa76ea6d5290d8f36aedf295e37c7468858f8 Mon Sep 17 00:00:00 2001 From: Syndamia Date: Thu, 28 Dec 2023 10:16:26 +0200 Subject: (browser-cli) Show URI id in front --- browser-cli.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/browser-cli.c b/browser-cli.c index 662d830..8b720c2 100644 --- a/browser-cli.c +++ b/browser-cli.c @@ -50,7 +50,7 @@ void renderPage(const sds page) { anchorsCount = 0; anchorsIndecies = NULL; } - toPrint = gsub_getm(toPrint, &syntax.anchor, "\033[4m\1\033[0m\16", &anchorsIndecies, &anchorsCount); + toPrint = gsub_getm(toPrint, &syntax.anchor, "\16\033[4m\1\033[0m", &anchorsIndecies, &anchorsCount); sds newPrint; for (int i = 0, anchorInd = 0; i < anchorsCount; i++) { -- cgit v1.2.3