From c890e59aaa6f56f77050af82727ee0d5092b18d2 Mon Sep 17 00:00:00 2001 From: Denis Pauk Date: Sun, 23 Oct 2022 22:33:58 +0300 Subject: [PATCH] Reset to default font settings instead white on black --- src/backends/unix/system.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backends/unix/system.c b/src/backends/unix/system.c index 96411857..3ce03ba2 100644 --- a/src/backends/unix/system.c +++ b/src/backends/unix/system.c @@ -201,18 +201,18 @@ Sys_ConsoleOutput(char *string) if (string[0] == 0x01) { /* red */ - fputs("\033[40m\033[31;1m", stdout); + fputs("\033[31;1m", stdout); } else { /* green */ - fputs("\033[40m\033[32;1m", stdout); + fputs("\033[32;1m", stdout); } fputs(string + 1, stdout); - /* back to black */ - fputs("\033[40m\033[37;1m", stdout); + /* reset to default terminal settings */ + fputs("\033[0m", stdout); return; } }