mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-29 08:44:59 +00:00
Turn off fancy Console if self.output
This commit is contained in:
parent
08230a0262
commit
e1e8e8e10a
1 changed files with 2 additions and 2 deletions
|
@ -120,10 +120,10 @@ class InputOutput:
|
||||||
else:
|
else:
|
||||||
self.chat_history_file = None
|
self.chat_history_file = None
|
||||||
|
|
||||||
if pretty:
|
if pretty and not self.output:
|
||||||
self.console = Console()
|
self.console = Console()
|
||||||
else:
|
else:
|
||||||
self.console = Console(no_color=True)
|
self.console = Console(force_terminal=True, no_color=True)
|
||||||
|
|
||||||
current_time = datetime.now().strftime("%Y-%m-%d %H:%M:%S")
|
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")
|
self.append_chat_history(f"\n# aider chat started at {current_time}\n\n")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue