force_terminal=False

This commit is contained in:
Paul Gauthier 2023-07-05 14:38:35 -07:00
parent e1e8e8e10a
commit e34078da04
2 changed files with 2 additions and 2 deletions

View file

@ -144,7 +144,7 @@ class Coder:
if pretty:
self.console = Console()
else:
self.console = Console(force_terminal=True, no_color=True)
self.console = Console(force_terminal=False, no_color=True)
self.main_model = main_model

View file

@ -123,7 +123,7 @@ class InputOutput:
if pretty and not self.output:
self.console = Console()
else:
self.console = Console(force_terminal=True, no_color=True)
self.console = Console(force_terminal=False, no_color=True)
current_time = datetime.now().strftime("%Y-%m-%d %H:%M:%S")
self.append_chat_history(f"\n# aider chat started at {current_time}\n\n")