cmd (windows) + enter to submit prompt. Enter create new line #696

Closed
opened 2025-11-11 14:29:16 -06:00 by GiteaMirror · 4 comments
Owner

Originally created by @tranghoang15591 on GitHub (Apr 22, 2024).

I'd like to write long prompt in multiple paragraphs, however, hit Enter just submit the prompt.
Please allows (optional?) new line by Enter, and submit prompt by cmd+Enter or window+Enter

Originally created by @tranghoang15591 on GitHub (Apr 22, 2024). I'd like to write long prompt in multiple paragraphs, however, hit Enter just submit the prompt. Please allows (optional?) new line by Enter, and submit prompt by cmd+Enter or window+Enter
Author
Owner

@justinh-rahb commented on GitHub (Apr 22, 2024):

It currently works the opposite way, you can enter new lines with Ctrl (win / Cmd (mac) + Enter. I don't see a benefit in flipping the behaviour, I only envision a lot of folks being confused about why we chose to do so.

@justinh-rahb commented on GitHub (Apr 22, 2024): It currently works the opposite way, you can enter new lines with Ctrl (win / Cmd (mac) + Enter. I don't see a benefit in flipping the behaviour, I only envision a lot of folks being confused about why we chose to do so.
Author
Owner

@tranghoang15591 commented on GitHub (Apr 22, 2024):

hmmm, i'm on Mac M1 and Ctr (Cmd) + Enter DOES NOT create new line. I'm using docker.

@tranghoang15591 commented on GitHub (Apr 22, 2024): hmmm, i'm on Mac M1 and Ctr (Cmd) + Enter DOES NOT create new line. I'm using docker.
Author
Owner

@justinh-rahb commented on GitHub (Apr 22, 2024):

My mistake, it's Shift+Enter, which is the common combo for entering newlines in multi-line input boxes.

@justinh-rahb commented on GitHub (Apr 22, 2024): My mistake, it's Shift+Enter, which is the common combo for entering newlines in multi-line input boxes.
Author
Owner

@ElSamhaa commented on GitHub (Jun 28, 2024):

hello, can we add a setting to flip this behavior?

@ElSamhaa commented on GitHub (Jun 28, 2024): hello, can we add a setting to flip this behavior?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#696