diff options
| author | ruki <[email protected]> | 2017-08-18 11:44:10 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2017-08-18 11:46:56 +0800 |
| commit | b714bf39904f7425a32d5238d0737239a6e5d045 (patch) | |
| tree | 4d74ce8d2508356d823df4de71b93092744025fa /docs/zh | |
| parent | 7c11f1e69f0aa3bf30410f660dff16a647860320 (diff) | |
detect true color
Diffstat (limited to 'docs/zh')
| -rw-r--r-- | docs/zh/manual.md | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/docs/zh/manual.md b/docs/zh/manual.md index f20a94079..0008c546e 100644 --- a/docs/zh/manual.md +++ b/docs/zh/manual.md @@ -4007,6 +4007,15 @@ if colors.truecolor() then end ``` +xmake对于truecolor的检测支持,是通过`$COLORTERM`环境变量来实现的,如果你的终端支持truecolor,可以手动设置此环境变量,来告诉xmake启用truecolor支持。 + +可以通过下面的命令来启用和测试: + +```bash +$ export COLORTERM=truecolor +$ xmake --version +``` + ##### cprintf ###### 无换行彩色打印终端日志 |
