commit b9e2a4efa6002671f926a077ab1b7100b9c2a59f
parent 73c6a2635434c4eab1372498c43ce59e3f1cc7e1
Author: hhvn <dev@hhvn.uk>
Date: Wed, 9 Feb 2022 21:33:53 +0000
Turn off colour after headers when displaying text
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/zygo.c b/zygo.c
@@ -689,6 +689,8 @@ draw_line(Elem *e, int nwidth) {
printw("%s ", getscheme(e)->name);
attroff(A_COLOR);
printw("| ");
+ } else {
+ attroff(A_COLOR);
}
if (ui.search && regexec(&ui.regex, e->desc, 0, NULL, 0) == 0)