[PR #5282] Fix keybind documentation: use return instead of enter #11324

Closed
opened 2026-02-16 18:16:08 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/5282

State: closed
Merged: No


Fix keybind documentation: use return instead of enter

The keybind parser doesn't normalize enter to return, but the terminal sends key events as return. This causes keybinds using enter (like input_submit: "enter" and input_newline: "shift+enter") to silently fail.

Updated all instances of enter to return to match what the terminal actually sends and what the code expects internally.

**Original Pull Request:** https://github.com/anomalyco/opencode/pull/5282 **State:** closed **Merged:** No --- Fix keybind documentation: use return instead of enter The keybind parser doesn't normalize enter to return, but the terminal sends key events as return. This causes keybinds using enter (like input_submit: "enter" and input_newline: "shift+enter") to silently fail. Updated all instances of enter to return to match what the terminal actually sends and what the code expects internally.
yindo added the pull-request label 2026-02-16 18:16:08 -05:00
yindo closed this issue 2026-02-16 18:16:09 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#11324