[GH-ISSUE #1676] cmd (windows) + enter to submit prompt. Enter create new line #67196

Closed
opened 2026-05-12 23:28:54 -05:00 by GiteaMirror · 4 comments
Owner

Originally created by @tranghoang15591 on GitHub (Apr 22, 2024).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/1676

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). Original GitHub issue: https://github.com/open-webui/open-webui/issues/1676 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.

<!-- gh-comment-id:2069607420 --> @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.

<!-- gh-comment-id:2070131321 --> @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.

<!-- gh-comment-id:2070142331 --> @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?

<!-- gh-comment-id:2197538651 --> @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#67196