From 8c1b05f428f8073673c2f8e6f9d06f31dca6ff7e Mon Sep 17 00:00:00 2001 From: Fellippe Heitor Date: Mon, 8 Feb 2021 07:56:43 -0300 Subject: [PATCH] Fixes console colors during compilation (*nix). Turns out the color palette isn't really the same as in Windows. --- source/qb64.bas | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/source/qb64.bas b/source/qb64.bas index 3b7241bf2..9b5da2357 100644 --- a/source/qb64.bas +++ b/source/qb64.bas @@ -12902,7 +12902,13 @@ IF idemode THEN END IF 'non-ide mode output PRINT -IF NOT MonochromeLoggingMode THEN COLOR 4 +IF NOT MonochromeLoggingMode THEN + IF INSTR(_OS$, "WIN") THEN + COLOR 4 + ELSE + COLOR 9 + END IF +END IF PRINT a$ IF NOT MonochromeLoggingMode THEN COLOR 7 FOR i = 1 TO LEN(linefragment)