mirror of
https://github.com/cool-RR/PySnooper.git
synced 2026-01-23 10:15:11 +00:00
Show color on Windows too, just for talk
This commit is contained in:
parent
7ca28af18d
commit
155fcd611e
1 changed files with 1 additions and 2 deletions
|
|
@ -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'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue