From 3da15bfd1979bf2dfbdd168f18b0d560521a6946 Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Thu, 6 Mar 2025 12:14:11 -0800 Subject: [PATCH] fix: Handle NO_COLOR environment variable for disabling colored output --- aider/io.py | 1 + 1 file changed, 1 insertion(+) diff --git a/aider/io.py b/aider/io.py index f71a2c806..405dceb0d 100644 --- a/aider/io.py +++ b/aider/io.py @@ -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