GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — feat(app): add "Send with Ctrl+Enter" option by alexyaroshuk · Pull Request #13637 · anomalyco/opencode

Conversation

@alexyaroshuk

@alexyaroshuk alexyaroshuk commented Feb 14, 2026

Copy link
Copy Markdown
Contributor

What does this PR do?

closes #11898
Adds a new setting that allows users to send messages using Ctrl+Enter (or Cmd+Enter on Mac) instead of the default Enter key. When enabled, Enter inserts a newline and Ctrl+Enter sends the message.

image

Default is off (Enter sends, Shift+Enter adds newline).

How did you verify your code works?

  1. bun test
  2. manual test

Files changed

Files Changed Description
packages/app/src/context/settings.tsx Added sendWithModEnter boolean to general settings
packages/app/src/components/settings-general.tsx Added Input section with toggle switch
packages/app/src/components/prompt-input.tsx Added keybind handling for Ctrl+Enter
packages/app/src/i18n/*.ts (16 files) Added localization keys for new setting

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

hilkins, lucashutch, jorgedanisc, gitsang, philipmat, takuma-ru, chendonming, yidianhengji, anduimagui, shotay79, and 5 more reacted with thumbs up emoji
All reactions
  • 👍 15 reactions
@github-actions github-actions Bot added the contributor label Feb 14, 2026
@alexyaroshuk
alexyaroshuk marked this pull request as ready for review February 14, 2026 20:08
@alexyaroshuk
alexyaroshuk requested a review from adamdotdevin as a code owner February 14, 2026 20:08
@philipmat

philipmat commented Feb 23, 2026

Copy link
Copy Markdown

I would very much like to see this merged in as well, please.

alexyaroshuk, jorgedanisc, takuma-ru, chendonming, chendm275, CodingOctocat, rusak47, and mirismaili reacted with thumbs up emoji
All reactions
  • 👍 8 reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@alexyaroshuk

alexyaroshuk commented Feb 24, 2026

Copy link
Copy Markdown
Contributor Author

@adamdotdevin could you give this one a look?

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@github-actions github-actions Bot mentioned this pull request Feb 28, 2026
📊 AI CLI 工具社区动态日报 2026-02-28 duanyytop/agents-radar#27
Closed
@alexyaroshuk alexyaroshuk mentioned this pull request Mar 5, 2026
[FEATURE]: Setting to send prompt only with send button, not hitting enter. #16226
Closed
1 task done
@alexchandel

alexchandel commented Mar 13, 2026

Copy link
Copy Markdown

Does this setting still allow mobile web users to send a message via the Send button?

There is currently no practical way for mobile users to type a newline on the web UI. The "Return" key always results in the partially formed message being immediately sent, even with Shift+Enter.

AngeeelD reacted with thumbs up emoji
All reactions
  • 👍 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@alexyaroshuk

alexyaroshuk commented Mar 19, 2026

Copy link
Copy Markdown
Contributor Author

Does this setting still allow mobile web users to send a message via the Send button?

There is currently no practical way for mobile users to type a newline on the web UI. The "Return" key always results in the partially formed message being immediately sent, even with Shift+Enter.

currently unable to test this

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@ualtinok

ualtinok commented Mar 31, 2026

Copy link
Copy Markdown
Contributor

This would be great addition. I hope can be merged soon. I don't know how many times I sent the prompt prematurely and cancel/reverted.

Thanks!

alexyaroshuk and rusak47 reacted with thumbs up emoji
All reactions
  • 👍 2 reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@alexyaroshuk
alexyaroshuk force-pushed the feat/break-line-hotkey branch 8 times, most recently from a6daa72 to f36169f Compare April 13, 2026 11:58
@alexyaroshuk
sync
4e5e368
@alexyaroshuk
alexyaroshuk force-pushed the feat/break-line-hotkey branch from f36169f to 4e5e368 Compare April 13, 2026 12:18
@alexyaroshuk
sync
9eb3b34
@opencode-agent
opencode-agent Bot force-pushed the dev branch from 2f2ed11 to 9f201d6 Compare April 16, 2026 21:55
@jorgedanisc

jorgedanisc commented May 3, 2026

Copy link
Copy Markdown

Just dropping by to express continued interest in this! Really hoping this gets merged soon, as it solves a major pain point from the original issue. 👍

AngeeelD, chendm275, jorgedanisc, alexyaroshuk, and rusak47 reacted with thumbs up emoji
All reactions
  • 👍 5 reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@alexyaroshuk
chore: resolve merge conflicts with upstream-dev
ad30267
@alexyaroshuk
alexyaroshuk force-pushed the feat/break-line-hotkey branch from 93ad572 to ad30267 Compare May 13, 2026 16:27
alexyaroshuk added 2 commits May 14, 2026 00:28
@alexyaroshuk
Merge branch 'dev' into feat/break-line-hotkey
99467a1
@alexyaroshuk
Merge branch 'dev' into feat/break-line-hotkey
ca0bb29
@thdxr
thdxr requested review from Brendonovich and Hona as code owners June 11, 2026 00:18
@phona phona mentioned this pull request Jul 8, 2026
feat: cherry-pick community web UI improvements phona/opencode#2
Merged
This was referenced Aug 17, 2026
app: prompt submit and newline shortcuts are not configurable #42981
Closed
[FEATURE]: Make App prompt action shortcuts configurable #43088
Open
@zshongyi zshongyi mentioned this pull request Oct 8, 2026
feat(app): make prompt action keybinds configurable #43128
Closed
3 of 6 tasks
@thdxr

thdxr commented Oct 10, 2026

Copy link
Copy Markdown
Member

This branch has been upgraded to V2. We're no longer taking PRs for V1. If you think this is still relevant, please port it over and open it for V2.

— from 𝕺𝖕𝖊𝖓𝕮𝖔𝖉𝖊

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@thdxr thdxr closed this Oct 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@adamdotdevin adamdotdevin Awaiting requested review from adamdotdevin
@Hona Hona Awaiting requested review from Hona
@Brendonovich Brendonovich Awaiting requested review from Brendonovich

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

contributor

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

[FEATURE]: Support modifying newline and submit keybinds in TUI/GUI

Uh oh!

There was an error while loading. Please reload this page.

6 participants

@alexyaroshuk @philipmat @alexchandel @ualtinok @jorgedanisc @thdxr
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.