diff --git a/hmm.json b/hmm.json index 421deb87c..2907c0bb0 100644 --- a/hmm.json +++ b/hmm.json @@ -188,7 +188,7 @@ { "name": "lime", "type": "git", - "ref": "b1a1f32ccfabbc822a791db3488aadcdd25d49e8", + "ref": "ef9f3d6e447bdf216de6ccbeca53d7e2606ab408", "url": "https://github.com/FunkinCrew/lime" }, { diff --git a/source/funkin/util/AnsiUtil.hx b/source/funkin/util/AnsiUtil.hx index c1e60d16f..e8249a14e 100644 --- a/source/funkin/util/AnsiUtil.hx +++ b/source/funkin/util/AnsiUtil.hx @@ -501,6 +501,13 @@ class AnsiUtil { if (codesSupported == null) { + #if macro + if (haxe.macro.Context.defined("message.no-color")) + { + codesSupported = false; + } + #end + #if sys if (codesSupported == null) { diff --git a/tools/AnsiUtil.hx b/tools/AnsiUtil.hx index 54363f20f..f4cd7e867 100644 --- a/tools/AnsiUtil.hx +++ b/tools/AnsiUtil.hx @@ -515,6 +515,13 @@ class AnsiUtil { if (codesSupported == null) { + #if macro + if (haxe.macro.Context.defined("message.no-color")) + { + codesSupported = false; + } + #end + #if sys if (codesSupported == null) {