diff options
| author | ruki <[email protected]> | 2021-05-11 00:46:19 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2021-05-11 00:46:19 +0800 |
| commit | 0bf5b37f8f011f04ff94ce0151fc96275959a57b (patch) | |
| tree | c4fe7d3dfbb6cd2e0c9e4ea1aa3e7fd4a67105ec | |
| parent | 75b7b25461f0d9748db84cbe50423b93a2032203 (diff) | |
disable emoji for powershell
| -rw-r--r-- | xmake/core/base/tty.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/core/base/tty.lua b/xmake/core/base/tty.lua index 30b6abb99..0417f9b8f 100644 --- a/xmake/core/base/tty.lua +++ b/xmake/core/base/tty.lua @@ -240,8 +240,8 @@ function tty.has_emoji() has_emoji = false end - -- on msys2/cygwin? disable it - if has_emoji == nil and (term == "msys2" or term == "cygwin") then + -- on msys2/cygwin/powershell? disable it + if has_emoji == nil and (term == "msys2" or term == "cygwin" or term == "powershell") then has_emoji = false end |
