paul-gauthier / aider

aider is AI pair programming in your terminal
https://aider.chat/
Apache License 2.0
18k stars 1.68k forks source link

Minor Usability Suggestion: Alaso accept "Shift-Return/Enter" for multi-line prompts in CLI #1143

Closed beat closed 2 weeks ago

beat commented 3 weeks ago

Issue

Could we add in Aider CLI Shift-Enter/Return as an accepted multi-line return-chararcter, in addition of Meta-Enter ?

Currently, META-Enter must to be pressed for multi-line inputs in Aider CLI.

Unfortunately, in popular AI-chats like ChatGPT.com and Claude.ai Meta-Enter, Meta-Enter sends off the command. They use SHIFT-Enter/Return for multi-line inputs.

And in Aider, SHIFT-Enter sends off the command.

Thus it's user-error-prone, and requires extra-concentration on syntax instead of content to do multi-line prompts in Aider and in ChatGPT and Claude.ai....

Version and model info

Aider v0.51.1

nsyring commented 3 weeks ago

I would appreciate that. I missed this feature already.

sholub89 commented 3 weeks ago

Same for me

paul-gauthier commented 2 weeks ago

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