Description
Issue: Shift + Return (and other newline shortcuts) not working in OpenCode on macOS
Environment
macOS
Ghostty + tmux
Recently switched from Cursor to OpenCode
Description
I usually press Shift + Return to insert a new line in chat inputs. In OpenCode, this does not work.
The keybind documentation shows:
"input_newline": "shift+return,ctrl+return,alt+return,ctrl+j"
However, none of these shortcuts work except for Ctrl + J.
When I press Shift + Return, Ctrl + Return, or Alt + Return, the message is sent immediately instead of inserting a new line.
Shift + Return works as expected in Claude Code and Cursor for me. This issue only occurs in OpenCode.
Plugins
none
OpenCode version
1.2.17
Steps to reproduce
Type something in the input
press any one of the newline keybinds ("shift+return,ctrl+return,alt+return,ctrl+j")
none of the keybinds will work except for ctrl+j and the message will be directly sent to the chat
Screenshot and/or share link
Screen.Recording.2026-03-05.at.1.24.01.AM.mov
Operating System
Latest MacOS
Terminal
Ghostty
Description
Issue:
Shift + Return(and other newline shortcuts) not working in OpenCode on macOSEnvironment
Description
I usually press
Shift + Returnto insert a new line in chat inputs. In OpenCode, this does not work.The keybind documentation shows:
However, none of these shortcuts work except for
Ctrl + J.When I press
Shift + Return,Ctrl + Return, orAlt + Return, the message is sent immediately instead of inserting a new line.Shift + Returnworks as expected in Claude Code and Cursor for me. This issue only occurs in OpenCode.Plugins
none
OpenCode version
1.2.17
Steps to reproduce
ctrl+jand the message will be directly sent to the chatScreenshot and/or share link
Screen.Recording.2026-03-05.at.1.24.01.AM.mov
Operating System
Latest MacOS
Terminal
Ghostty