From 0bf5b37f8f011f04ff94ce0151fc96275959a57b Mon Sep 17 00:00:00 2001 From: ruki Date: Tue, 11 May 2021 00:46:19 +0800 Subject: disable emoji for powershell --- xmake/core/base/tty.lua | 4 ++-- 1 file 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 -- cgit v1.3.1