mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-31 01:35:00 +00:00
fix: Handle NO_COLOR environment variable for disabling colored output
This commit is contained in:
parent
c79db2581b
commit
3da15bfd19
1 changed files with 1 additions and 0 deletions
|
@ -253,6 +253,7 @@ class InputOutput:
|
|||
self.notifications_command = self.get_default_notification_command()
|
||||
else:
|
||||
self.notifications_command = notifications_command
|
||||
|
||||
no_color = os.environ.get("NO_COLOR")
|
||||
if no_color is not None and no_color != "":
|
||||
pretty = False
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue