mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-01 10:14:59 +00:00
![]() # Context: USER: i don't want to clear the screen. just disable any funky terminal modes ASSISTANT: I apologize for the confusion. If you want to disable any funky terminal modes without clearing the screen, you can use the `rich` library's `reset()` method. Here's the change for `aider/main.py`: ```python aider/main.py <<<<<<< ORIGINAL coder.run() console = Console() console.clear() ======= coder.run() console = Console() console.reset() >>>>>>> UPDATED ``` This change replaces the `console.clear()` call with `console.reset()` at the end of the `main()` function to reset the terminal without clearing the screen. |
||
---|---|---|
.. | ||
__init__.py | ||
coder.py | ||
commands.py | ||
dump.py | ||
getinput.py | ||
main.py | ||
prompts.py | ||
utils.py |