Open u2324 opened 3 days ago
or alternatively make shift+enter accept a new line just like in the web-ui of ChatGPT, Claude, Deepseek... mistral
Thanks for trying aider and filing this issue. This doc may be helpful:
https://aider.chat/docs/usage/commands.html#entering-multi-line-chat-messages
Issue
Practically every input that I make to Aider is multi-line. In many other systems, for example, Mathematica or Sage, the default when pressing the Enter key is to simply insert a new line and not submit a query or statement to the backend. If one wishes to submit the current input, then they must press down Control, or Shift, or (in this case) Meta while pressing the Enter key.
Since the vast majority of the time I'm hitting Enter simply to get to the next line to separate elements of my input, it's often the case that I press enter mistakenly, which in my case costs me between 5 to 25 cents each time.
So, I would like a way to set the default to be that Enter does not submit the current input buffer, but rather simply moves to the next line to allow for multi-line editing, requiring a modifier to send the input buffer for processing.
Perhaps a reminder to submit via Alt-Enter could be put on the terminal prompt if this behaviour is unintuitive.
Thank you for such a great product!
Version and model info
No response