-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Replace ENTER with SHIFT-ENTER for sending a message to the llm. Use ENTER for new lines. #1502
Comments
Wouldn't it be easier to just assign shift enter to new line? Which most applications conventionally do |
I agree with this |
Yes, keep Enter as SEND, and e.g. Shift+Enter for newlines. |
No, because if I PASTE a text with few lines of code, only the first one is sent, then it returns, leaving out all the remaining lines of code. |
True. But:
|
Let the thing be configurable. Users that find it onerous should only change a setting from true to false. |
@Emasoft no need for the harshness. All suggestions are welcome and everybody's workflow is different. I like the idea of a configurable option and I'll raise it with the team. If you want to make a PR for it, I'd be happy to review it |
Customizable key binds are also a good idea, and speaking of reading from a file it might come in handy if you have to run a script frequently you can make Open Interpreter read it from a saved file. Also speaking of copy-pasting commands we can make it so that the given prompt doesn't execute as long as we don't hit enter. |
Is your feature request related to a problem? Please describe.
Currently we cannot write code longer than one line or paste some code snippets without triggering the message to be sent one line at time. Replacing ENTER with SHIFT-ENTER solves the issue. It also make more difficult to send a message by accident.
Describe the solution you'd like
Replace ENTER with SHIFT-ENTER for sending a message to the llm. Use ENTER for new lines.
Describe alternatives you've considered
You can integrate in the terminal a multiline editor, like Textual. But this is a more complex solution.
Additional context
No response
The text was updated successfully, but these errors were encountered: