Skip to content

fix: say-yes hotkey uses \r so it auto-submits#533

Merged
kwannoel merged 1 commit intomainfrom
session-1-7e612d
Mar 25, 2026
Merged

fix: say-yes hotkey uses \r so it auto-submits#533
kwannoel merged 1 commit intomainfrom
session-1-7e612d

Conversation

@kwannoel
Copy link
Copy Markdown
Owner

Summary

  • The say-yes hotkey (y) was sending "yes\n" (line feed) instead of "yes\r" (carriage return) to the PTY
  • In terminals, \r is what the Enter key sends — \n doesn't trigger submission
  • Other PTY writes (e.g. finish-branch) already used \r correctly

Test plan

  • All 286 frontend tests pass
  • Rust tests pass
  • Manual: press y on a session waiting for confirmation — "yes" should be submitted automatically

🤖 Generated with Claude Code

The say-yes hotkey (y) was sending "yes\n" (line feed) instead of
"yes\r" (carriage return). In terminals, \r is what Enter sends —
\n doesn't trigger submission. Other PTY writes like finish-branch
already used \r correctly.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@kwannoel kwannoel merged commit 8ca8805 into main Mar 25, 2026
1 of 3 checks passed
@kwannoel kwannoel deleted the session-1-7e612d branch March 25, 2026 05:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant