summaryrefslogtreecommitdiff
path: root/cmd2/cmd2.py
diff options
context:
space:
mode:
authorkotfu <kotfu@kotfu.net>2018-08-11 12:40:04 -0600
committerkotfu <kotfu@kotfu.net>2018-08-11 12:41:01 -0600
commit0053f18fade2f2148daf19975581e8372ca7a69b (patch)
treef468e3f4a8ed70ec6895edb6292b1e17b1d53ca3 /cmd2/cmd2.py
parentd2fd437db7305f0e4c1479c84fdce2fd8499a38c (diff)
downloadcmd2-git-0053f18fade2f2148daf19975581e8372ca7a69b.tar.gz
Colors now defaults to true on all platforms
Diffstat (limited to 'cmd2/cmd2.py')
-rw-r--r--cmd2/cmd2.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd2/cmd2.py b/cmd2/cmd2.py
index 94b75e5f..34a28048 100644
--- a/cmd2/cmd2.py
+++ b/cmd2/cmd2.py
@@ -317,7 +317,7 @@ class Cmd(cmd.Cmd):
reserved_words = []
# Attributes which ARE dynamically settable at runtime
- colors = (platform.system() != 'Windows')
+ colors = True
continuation_prompt = '> '
debug = False
echo = False
@@ -337,7 +337,7 @@ class Cmd(cmd.Cmd):
# To make an attribute settable with the "do_set" command, add it to this ...
# This starts out as a dictionary but gets converted to an OrderedDict sorted alphabetically by key
- settable = {'colors': 'Colorized output (*nix only)',
+ settable = {'colors': 'Allow colorized output',
'continuation_prompt': 'On 2nd+ line of input',
'debug': 'Show full error stack on error',
'echo': 'Echo command issued into output',