diff options
| author | ruki <[email protected]> | 2021-01-24 23:17:53 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2021-01-24 23:17:53 +0800 |
| commit | 2dbcfa78413449dc82c7e909f8f4c9b5ccb8b60d (patch) | |
| tree | 2b9afb5fb2853f40cfe29f496b3f16d739c5d8d4 /xmake/themes/dark/xmake.lua | |
| parent | 4e39a9f9da50f54eef30e289078d8794fd5d74ad (diff) | |
fix theme
Diffstat (limited to 'xmake/themes/dark/xmake.lua')
| -rw-r--r-- | xmake/themes/dark/xmake.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/xmake/themes/dark/xmake.lua b/xmake/themes/dark/xmake.lua index c9b47a3d7..d6e61d94e 100644 --- a/xmake/themes/dark/xmake.lua +++ b/xmake/themes/dark/xmake.lua @@ -53,10 +53,10 @@ theme("dark") set_color("build.target", "magenta") -- the spinner chars - if not is_subhost("msys", "cygwin") then - set_text("spinner.chars", '⠋', '⠙', '⠹', '⠸', '⠼', '⠴', '⠦', '⠧', '⠇', '⠏') - else + if (is_subhost("windows") and winos.version():lt("win10")) or is_subhost("msys", "cygwin") then set_text("spinner.chars", '\\', '-', '/', '|') + else + set_text("spinner.chars", '⠋', '⠙', '⠹', '⠸', '⠼', '⠴', '⠦', '⠧', '⠇', '⠏') end -- color dump |
