diff options
author | Takayuki Shimizukawa <shimizukawa@gmail.com> | 2014-07-05 01:39:13 +0900 |
---|---|---|
committer | Takayuki Shimizukawa <shimizukawa@gmail.com> | 2014-07-05 01:39:13 +0900 |
commit | c8e0a8759d8ea6584910cac0cddb30e04467e394 (patch) | |
tree | e140c38aa69ae616b07d4dc6517310540cf65c7c /sphinx/util/console.py | |
parent | 6ab7a2cbec495f21d2da0d8b2777e03509b90ac2 (diff) | |
download | sphinx-git-c8e0a8759d8ea6584910cac0cddb30e04467e394.tar.gz |
Update documentation and `sphinx-build -N` option behavior for windows color console support. closes #1291.
Diffstat (limited to 'sphinx/util/console.py')
-rw-r--r-- | sphinx/util/console.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sphinx/util/console.py b/sphinx/util/console.py index 64eb4e478..2acc8eade 100644 --- a/sphinx/util/console.py +++ b/sphinx/util/console.py @@ -64,6 +64,8 @@ def color_terminal(): def nocolor(): + if sys.platform == 'win32' and colorama is not None: + colorama.deinit() codes.clear() def coloron(): |