Merge branch 'rewrite/master' into result-screen-pitch

This commit is contained in:
Eric 2024-03-08 00:30:08 -05:00 committed by GitHub
commit bf6ec0421c
2 changed files with 8 additions and 1 deletions

View file

@ -17,7 +17,9 @@ class TrackerUtil
*/ */
public static function initTrackers():Void public static function initTrackers():Void
{ {
#if FLX_DEBUG
Tracker.addProfile(new TrackerProfile(Highscore, ["tallies"])); Tracker.addProfile(new TrackerProfile(Highscore, ["tallies"]));
FlxG.console.registerClass(Highscore); FlxG.console.registerClass(Highscore);
#end
} }
} }

View file

@ -52,7 +52,12 @@ class AnsiTrace
public static function traceBF() public static function traceBF()
{ {
#if sys #if sys
if (colorSupported) Sys.println(ansiBF.join("\n")); if (colorSupported)
{
for (line in ansiBF)
Sys.stdout().writeString(line + "\n");
Sys.stdout().flush();
}
#end #end
} }