enable ANSI color for hashlink

This commit is contained in:
Frakist
2023-08-11 10:48:49 +03:00
parent a6080315d7
commit 5cdb69ba55
+1 -1
View File
@@ -50,7 +50,7 @@ class NativeAPI {
* Sets the console colors
*/
public static function setConsoleColors(foregroundColor:ConsoleColor = NONE, ?backgroundColor:ConsoleColor = NONE) {
#if windows
#if (windows && !hl)
if(foregroundColor == NONE)
foregroundColor = LIGHTGRAY;
if(backgroundColor == NONE)