From 6b4790bade1ac355f1a98e4d3706d97cc87b23b8 Mon Sep 17 00:00:00 2001 From: Jonathan Frederic Date: Tue, 1 Mar 2016 09:54:08 -0800 Subject: [PATCH] Use +/- instead of O/X or T/F --- notebook/nbextensions.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/notebook/nbextensions.py b/notebook/nbextensions.py index b476f475d..0ec3132b9 100644 --- a/notebook/nbextensions.py +++ b/notebook/nbextensions.py @@ -34,9 +34,9 @@ from traitlets.config.manager import BaseJSONConfigManager from tornado.log import LogFormatter # Constants for pretty print extension listing function. -# Window doesn't support unicode characters in the commandline, so use T/F. -GREEN_ENABLED = '\033[32mO\033[0m' if os.name != 'nt' else 'T' -RED_DISABLED = '\033[31mX\033[0m' if os.name != 'nt' else 'F' +# Window doesn't support coloring in the commandline +GREEN_ENABLED = '\033[32m+\033[0m' if os.name != 'nt' else '+' +RED_DISABLED = '\033[31m-\033[0m' if os.name != 'nt' else '-' DEPRECATED_ARGUMENT = object() #------------------------------------------------------------------------------