mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-02 02:34:59 +00:00
Only no_color, not force_term
This commit is contained in:
parent
6e57507364
commit
d2284447c3
1 changed files with 4 additions and 1 deletions
|
@ -104,7 +104,10 @@ class InputOutput:
|
||||||
else:
|
else:
|
||||||
self.chat_history_file = None
|
self.chat_history_file = None
|
||||||
|
|
||||||
self.console = Console(force_terminal=not pretty, no_color=not pretty)
|
if pretty:
|
||||||
|
self.console = Console()
|
||||||
|
else:
|
||||||
|
self.console = Console(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