aboutsummaryrefslogtreecommitdiffstats
path: root/mitmproxy/tools
diff options
context:
space:
mode:
authorMaximilian Hils <git@maximilianhils.com>2019-12-21 19:16:52 +0100
committerMaximilian Hils <git@maximilianhils.com>2019-12-27 17:52:51 +0100
commitd604e210d09d848062bc67c5461a839d5535b726 (patch)
tree2f18cc959052391ddbf4c7abb0171faacec2b07d /mitmproxy/tools
parentf9798e8331ee4fe448fb87bf0a03c30e710936a7 (diff)
downloadmitmproxy-d604e210d09d848062bc67c5461a839d5535b726.tar.gz
mitmproxy-d604e210d09d848062bc67c5461a839d5535b726.tar.bz2
mitmproxy-d604e210d09d848062bc67c5461a839d5535b726.zip
enable UTF-8 icons for WSL
conhost.exe supports UTF-8 nowadays, even though there is no font fallback and your font needs to have the appropriate glyphs (DejaVu works, for example). The new "Windows Terminal" application has a revamped font renderer and just works.
Diffstat (limited to 'mitmproxy/tools')
-rw-r--r--mitmproxy/tools/console/common.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mitmproxy/tools/console/common.py b/mitmproxy/tools/console/common.py
index 0cebd9a8..325c5740 100644
--- a/mitmproxy/tools/console/common.py
+++ b/mitmproxy/tools/console/common.py
@@ -95,7 +95,7 @@ def fcol(s, attr):
)
-if urwid.util.detected_encoding and not IS_WSL:
+if urwid.util.detected_encoding:
SYMBOL_REPLAY = u"\u21ba"
SYMBOL_RETURN = u"\u2190"
SYMBOL_MARK = u"\u25cf"