Description
Environment
- OpenCode version: 1.0.180
- Terminal: Warp
- OS: macOS
Problem
Shift+Enter does not insert a line break in the input when running OpenCode inside the Warp terminal. The expected behavior is that Shift+Enter should create a new line, allowing multi-line input before submitting.
Current Behavior
- Pressing Shift+Enter does nothing (no line break inserted)
- Only Ctrl+J works as a workaround for inserting line breaks
Expected Behavior
Shift+Enter should insert a line break in the input field, consistent with behavior in other terminals.
Workaround
Using Ctrl+J instead of Shift+Enter successfully inserts a line break.
Additional Context
This may be related to how Warp handles key bindings or how OpenCode captures keyboard input. Other terminals may not have this issue.
OpenCode version
1.0.180
Steps to reproduce
- Open Warp terminal
- Run OpenCode (version 1.0.180)
- Start typing a message
- Press Shift+Enter to insert a line break
- Observe: nothing happens
Screenshot and/or share link
No response
Operating System
MacOS
Terminal
Warp
Description
Environment
Problem
Shift+Enter does not insert a line break in the input when running OpenCode inside the Warp terminal. The expected behavior is that Shift+Enter should create a new line, allowing multi-line input before submitting.
Current Behavior
Expected Behavior
Shift+Enter should insert a line break in the input field, consistent with behavior in other terminals.
Workaround
Using Ctrl+J instead of Shift+Enter successfully inserts a line break.
Additional Context
This may be related to how Warp handles key bindings or how OpenCode captures keyboard input. Other terminals may not have this issue.
OpenCode version
1.0.180
Steps to reproduce
Screenshot and/or share link
No response
Operating System
MacOS
Terminal
Warp