Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def _reset(self):
'''
Get a reset color (terminal escape sequence).
'''
if not self._should_use_color():
return ''
else:
return Color.RESET