aider/aider
Paul Gauthier 0ef2790464 aider: Replaced console.clear() with console.reset() to disable funky terminal modes.
# 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.
2023-05-11 20:44:01 -07:00
..
__init__.py initial 2023-05-09 11:00:32 -07:00
coder.py ensure the Live is stopped if exceptions occur 2023-05-11 20:40:07 -07:00
commands.py noop 2023-05-11 17:22:58 -07:00
dump.py moved into subdir 2023-05-09 10:52:18 -07:00
getinput.py fix 2023-05-10 21:20:04 -07:00
main.py aider: Replaced console.clear() with console.reset() to disable funky terminal modes. 2023-05-11 20:44:01 -07:00
prompts.py sniff when GPT mentions files that are not in the chat, prompt the user to add them 2023-05-10 22:05:00 -07:00
utils.py fix tests and bug 2023-05-11 17:15:19 -07:00