We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c2f5d21 commit 5d5eafbCopy full SHA for 5d5eafb
esptool/logger.py
@@ -115,7 +115,7 @@ def _set_smart_features(cls, override: bool | None = None):
115
116
# Determine if colors should be enabled
117
cls.instance._smart_features = (
118
- is_tty and term_supports_color and not no_color
+ is_tty or term_supports_color and not no_color
119
)
120
# Handle Windows specifically
121
if sys.platform == "win32" and cls.instance._smart_features:
0 commit comments