mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2025-02-21 03:11:57 +00:00
Reset to default font settings instead white on black
This commit is contained in:
parent
66d0751caf
commit
c890e59aaa
1 changed files with 4 additions and 4 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue