Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(249)

Unified Diff: depot-tools-auth.py

Issue 1847783002: Multiple improvements to windows bash integration. (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/depot_tools.git@master
Patch Set: Add direct mode and unbuffered Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « bootstrap/win/win_tools.bat ('k') | gclient.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: depot-tools-auth.py
diff --git a/depot-tools-auth.py b/depot-tools-auth.py
index 3ebc239d8753b53911d59755a0f4fcd1b7eb83e1..87ec1ccf00c861e34e87408b9b913bcc2d8df32f 100755
--- a/depot-tools-auth.py
+++ b/depot-tools-auth.py
@@ -14,6 +14,7 @@ Usage:
import logging
import optparse
import sys
+import os
from third_party import colorama
@@ -94,7 +95,7 @@ def main(argv):
if __name__ == '__main__':
- colorama.init()
+ colorama.init(wrap="TERM" not in os.environ)
try:
sys.exit(main(sys.argv[1:]))
except KeyboardInterrupt:
« no previous file with comments | « bootstrap/win/win_tools.bat ('k') | gclient.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698