Is there any way to use enter to send newline, and ctrl+enter to send message. #8392

Open
opened 2026-02-16 18:09:51 -05:00 by yindo · 2 comments
Owner

Originally created by @gitsang on GitHub (Feb 3, 2026).

Originally assigned to: @rekram1-node on GitHub.

Question

Is there any way to use enter to send newline(\n), and ctrl+enter to send message.

Relate Issue

Originally created by @gitsang on GitHub (Feb 3, 2026). Originally assigned to: @rekram1-node on GitHub. ### Question Is there any way to use `enter` to send newline(`\n`), and `ctrl+enter` to send message. ### Relate Issue - https://github.com/anomalyco/opencode/issues/1505 - https://github.com/anomalyco/opencode/issues/9836
yindo added the opentui label 2026-02-16 18:09:51 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Feb 3, 2026):

This issue might be a duplicate of existing issues. Please check:

  • #1505: shift+enter keybinding not working - a related issue about keybind customization for message input

For keybind-related issues, please also check our pinned keybinds documentation: #4997

@github-actions[bot] commented on GitHub (Feb 3, 2026): This issue might be a duplicate of existing issues. Please check: - #1505: shift+enter keybinding not working - a related issue about keybind customization for message input For keybind-related issues, please also check our pinned keybinds documentation: #4997
Author
Owner

@jorgedanisc commented on GitHub (Feb 14, 2026):

Image

This would be really interesting to me as well on the Desktop App! Claude Code handles this nicely (uploaded a screenshot from their Settings on VSCode)

It could be as simple as adding that checkbox I uploaded above - or just two new shortcuts on the settings (line break and input submit)

@jorgedanisc commented on GitHub (Feb 14, 2026): <img width="904" height="118" alt="Image" src="https://github.com/user-attachments/assets/c18d0a0f-5122-4672-9975-4acbadd313ac" /> This would be really interesting to me as well on the Desktop App! Claude Code handles this nicely (uploaded a screenshot from their Settings on VSCode) It could be as simple as adding that checkbox I uploaded above - or just two new shortcuts on the settings (line break and input submit)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#8392