Show color on Windows too, just for talk

This commit is contained in:
Ram Rachum
2022-07-05 16:31:48 +03:00
parent 7ca28af18d
commit 155fcd611e

View File

@@ -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'