1
0
Fork 0
mirror of https://github.com/ninjamuffin99/Funkin.git synced 2024-12-12 00:15:10 +00:00

Fix web builds.

This commit is contained in:
EliteMasterEric 2024-02-02 23:26:02 -05:00
parent 4d6ee03947
commit 8be9c4f8ed

View file

@ -18,7 +18,7 @@ class AnsiTrace
#end
}
public static var colorSupported:Bool = (Sys.getEnv("TERM") == "xterm" || Sys.getEnv("ANSICON") != null);
public static var colorSupported:Bool = #if sys (Sys.getEnv("TERM") == "xterm" || Sys.getEnv("ANSICON") != null) #else false #end;
// ansi stuff
public static inline var RED = "\x1b[31m";