Have no ability to enter a new line #2101

Closed
opened 2026-02-16 17:34:10 -05:00 by yindo · 3 comments
Owner

Originally created by @NaikSoftware on GitHub (Oct 14, 2025).

Originally assigned to: @thdxr on GitHub.

Option + Enter (worked earlier) - not working in 0.15.2
Ctrl + Enter - not working
Shift + Enter - not working

P.s.: just opened Opencode for one task - > three bugs found, seems like the product is not tested, many problems exist and new appears. Its a pain for real usage

Originally created by @NaikSoftware on GitHub (Oct 14, 2025). Originally assigned to: @thdxr on GitHub. Option + Enter (worked earlier) - not working in 0.15.2 Ctrl + Enter - not working Shift + Enter - not working P.s.: just opened Opencode for one task - > three bugs found, seems like the product is not tested, many problems exist and new appears. Its a pain for real usage
yindo closed this issue 2026-02-16 17:34:10 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Oct 14, 2025):

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

  • #1505: The shift+enter keybinding is not working (same symptoms - shift+enter, option/alt+enter, ctrl+enter all not working for newlines)
  • #20: Previously closed issue about mapping shift+enter and alt+enter to new line functionality

Both issues describe the same problem with keyboard shortcuts for creating new lines in the input field not functioning properly. Issue #1505 is currently open and actively being worked on.

Feel free to ignore if none of these address your specific case.

@github-actions[bot] commented on GitHub (Oct 14, 2025): This issue might be a duplicate of existing issues. Please check: - #1505: The shift+enter keybinding is not working (same symptoms - shift+enter, option/alt+enter, ctrl+enter all not working for newlines) - #20: Previously closed issue about mapping shift+enter and alt+enter to new line functionality Both issues describe the same problem with keyboard shortcuts for creating new lines in the input field not functioning properly. Issue #1505 is currently open and actively being worked on. Feel free to ignore if none of these address your specific case.
Author
Owner

@rekram1-node commented on GitHub (Oct 14, 2025):

what terminal are you using where shift enter doesn't work?

claude code hijacks some of your keybindings and can break the behavior for other tools if you are ghostty there may be something here:

cat ~/.config/ghostty/config
@rekram1-node commented on GitHub (Oct 14, 2025): what terminal are you using where shift enter doesn't work? claude code hijacks some of your keybindings and can break the behavior for other tools if you are ghostty there may be something here: ``` cat ~/.config/ghostty/config ```
Author
Owner

@rekram1-node commented on GitHub (Oct 14, 2025):

Happy to help here but we have existing issue: https://github.com/sst/opencode/issues/1505 so I will close as duplicate

@rekram1-node commented on GitHub (Oct 14, 2025): Happy to help here but we have existing issue: https://github.com/sst/opencode/issues/1505 so I will close as duplicate
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#2101