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:
parent
4d6ee03947
commit
8be9c4f8ed
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue