diff options
| -rw-r--r-- | xmake/themes/dark/xmake.lua | 6 | ||||
| -rw-r--r-- | xmake/themes/default/xmake.lua | 6 | ||||
| -rw-r--r-- | xmake/themes/ninja/xmake.lua | 6 |
3 files changed, 9 insertions, 9 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 diff --git a/xmake/themes/default/xmake.lua b/xmake/themes/default/xmake.lua index 93be14266..275ac6481 100644 --- a/xmake/themes/default/xmake.lua +++ b/xmake/themes/default/xmake.lua @@ -53,10 +53,10 @@ theme("default") set_color("build.target", "magenta bright") -- 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 diff --git a/xmake/themes/ninja/xmake.lua b/xmake/themes/ninja/xmake.lua index 3e4a0f9f2..84353e788 100644 --- a/xmake/themes/ninja/xmake.lua +++ b/xmake/themes/ninja/xmake.lua @@ -53,10 +53,10 @@ theme("ninja") set_color("build.target", "magenta bright") -- 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 |
