Replies: 2 comments 4 replies
-
是否支持 color output 是自动探测的,https://github.com/xmake-io/xmake/blob/e1d5f432ab3d0fac43ee6a4852efe7b99f6ef428/xmake/modules/core/tools/gcc.lua#L566 如果当前 clang 支持,就会自动输出 color 。。 但是当前 win terminal 是否支持 color code ,也有自动检测,检测无法支持的,就会禁用。。。 |
Beta Was this translation helpful? Give feedback.
3 replies
-
xmake update -s github:xmake-io/xmake#clang |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
clang在windows上默认用的是console api,导致如果不是直接调用无法显示颜色,而windows在10之后加入了ansi颜色,clang也可以选择在windows平台下使用ansi颜色,但不是默认开启。如果可以默认开启ansi颜色就好了
Beta Was this translation helpful? Give feedback.
All reactions