From d604e210d09d848062bc67c5461a839d5535b726 Mon Sep 17 00:00:00 2001 From: Maximilian Hils Date: Sat, 21 Dec 2019 19:16:52 +0100 Subject: [PATCH] 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. --- mitmproxy/tools/console/common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mitmproxy/tools/console/common.py b/mitmproxy/tools/console/common.py index 0cebd9a8d..325c5740d 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"