Index: git_cl.py |
diff --git a/git_cl.py b/git_cl.py |
index c3b92903b7de07db6cedc99e15208d43f8c275d1..2d185bd3172e2ceb30a133af6b46721dda3cca37 100755 |
--- a/git_cl.py |
+++ b/git_cl.py |
@@ -4327,7 +4327,7 @@ if __name__ == '__main__': |
# These affect sys.stdout so do it outside of main() to simplify mocks in |
# unit testing. |
fix_encoding.fix_encoding() |
- colorama.init() |
+ colorama.init(wrap="TERM" not in os.environ) |
try: |
sys.exit(main(sys.argv[1:])) |
except KeyboardInterrupt: |