Some more small fixes and cleanup

This commit is contained in:
NeeEoo
2023-08-12 16:04:45 +02:00
parent f59d081804
commit 70da7505f8
8 changed files with 55 additions and 18 deletions
+2
View File
@@ -50,6 +50,8 @@ class NativeAPI {
* Sets the console colors
*/
public static function setConsoleColors(foregroundColor:ConsoleColor = NONE, ?backgroundColor:ConsoleColor = NONE) {
if(Main.noTerminalColor) return;
#if (windows && !hl)
if(foregroundColor == NONE)
foregroundColor = LIGHTGRAY;