diff options
| Commit | 81daa76ea6d5290d8f36aedf295e37c7468858f8 (patch) | |
|---|---|---|
| Author | 2023-12-28 10:16:26 +0200 | |
| Committer | 2023-12-28 10:16:26 +0200 | |
| Files | e802df6b039fb0ada3f41690df767fb2c9afa54d /browser-cli.c | |
| pico-web-81daa76ea6d5290d8f36aedf295e37c7468858f8.tar pico-web-81daa76ea6d5290d8f36aedf295e37c7468858f8.tar.gz pico-web-81daa76ea6d5290d8f36aedf295e37c7468858f8.zip | ||
| Parent | 36c7c6518147619179dd3fd5f4fdc567c78da7eb (diff) | |
(browser-cli) Show URI id in front
1 files changed, 1 insertions, 1 deletions
| -rw-r--r-- | browser-cli.c | 2 |
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++) { |
