使用 xy.enable_color

This commit is contained in:
Aoran Zeng
2025-08-27 11:53:08 +08:00
parent 60ad6c1fc6
commit 90315917e9
3 changed files with 34 additions and 7 deletions

View File

@@ -716,7 +716,7 @@ main (int argc, char const *argv[])
else if (xy_streql (argv[i], "-no-color") || xy_streql (argv[i], "-no-colour"))
{
ProgMode.NoColorMode = true;
xy_enable_color = false;
xy.enable_color = false;
}
else if ( xy_streql (argv[i], "-h")
|| xy_streql (argv[i], "-help")