From 3f745223b871390a92791f3c04fd703a5a66de38 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Thu, 22 Apr 2021 21:26:39 +0200 Subject: Added unhighlighter --- src/syntax.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/syntax.c') diff --git a/src/syntax.c b/src/syntax.c index 400f6e1..4367394 100644 --- a/src/syntax.c +++ b/src/syntax.c @@ -52,6 +52,7 @@ void syntax_highlight(char *buf, u32 size) u32 diff = 0; char *start = buf; + gui_unhighlight(); for (u32 i = 0; i < size; i++) { // TODO: Fix highlighting of last line without \n if (buf[i] == '\0') -- cgit v1.2.3