From 53ec526927fb224c4252ef172d248bef7d4b1081 Mon Sep 17 00:00:00 2001 From: Konstantin Ryabitsev Date: Tue, 26 May 2020 08:40:29 -0400 Subject: Use unicode escape sequences Let's keep our code sources in plain old ascii. Signed-off-by: Konstantin Ryabitsev --- b4/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/b4/__init__.py b/b4/__init__.py index fcea7df..0d6fd4a 100644 --- a/b4/__init__.py +++ b/b4/__init__.py @@ -38,8 +38,8 @@ FILENAME_RE = re.compile(r'^(---|\+\+\+) (\S+)') PASS_SIMPLE = '[P]' FAIL_SIMPLE = '[F]' -PASS_FANCY = '[\033[32m✓\033[0m]' -FAIL_FANCY = '[\033[31m✗\033[0m]' +PASS_FANCY = '[\033[32m\u2713\033[0m]' +FAIL_FANCY = '[\033[31m\u2717\034[0m]' # You can use bash-style globbing here WANTHDRS = [ -- cgit v1.2.3