diff --git a/Src/prompt.c b/Src/prompt.c index 997327e18..36c828321 100644 --- a/Src/prompt.c +++ b/Src/prompt.c @@ -1842,6 +1842,13 @@ output_highlight(zattr atr, char *buf) atrlen += len; if (buf) ptr += len; + } else if (atr & TXTNOFGCOLOUR) { + len = 10; + atrlen += len; + if (buf) { + strcpy(ptr, "fg=default"); + ptr += len; + } } if (atr & TXTBGCOLOUR) { if (atrlen) {