mirror of
https://github.com/cool-RR/PySnooper.git
synced 2026-01-11 07:18:06 -05:00
Show color on Windows too, just for talk
This commit is contained in:
@@ -248,8 +248,7 @@ class Tracer:
|
||||
self.max_variable_length = max_variable_length
|
||||
self.normalize = normalize
|
||||
self.relative_time = relative_time
|
||||
self.color = color and sys.platform in ('linux', 'linux2', 'cygwin',
|
||||
'darwin')
|
||||
self.color = color
|
||||
|
||||
if self.color:
|
||||
self._FOREGROUND_BLUE = '\x1b[34m'
|
||||
|
||||
Reference in New Issue
Block a user