summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCatherine Devlin <catherine.devlin@gmail.com>2009-04-09 00:15:33 -0400
committerCatherine Devlin <catherine.devlin@gmail.com>2009-04-09 00:15:33 -0400
commitcb07fdbfeed0009c2537dbc09a7be5616a66c49b (patch)
tree3682a1adc4eae1044b835bca6f0778acd7aeee0c
parent6fd24c5778e598cb49cd50de572e10410d4fc969 (diff)
downloadcmd2-hg-cb07fdbfeed0009c2537dbc09a7be5616a66c49b.tar.gz
colors
-rwxr-xr-xcmd2.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd2.py b/cmd2.py
index feccaaf..d05f3cf 100755
--- a/cmd2.py
+++ b/cmd2.py
@@ -319,6 +319,7 @@ class Cmd(cmd.Cmd):
def __init__(self, *args, **kwargs):
cmd.Cmd.__init__(self, *args, **kwargs)
+ self.initial_stdout = sys.stdout
self.history = History()
self._init_parser()
self.pystate = {}