Skip to content

fix(tui): restore alt-enter newline alias#20535

Merged
fcoury-oai merged 1 commit intomainfrom
fcoury/fix-alt-enter
May 1, 2026
Merged

fix(tui): restore alt-enter newline alias#20535
fcoury-oai merged 1 commit intomainfrom
fcoury/fix-alt-enter

Conversation

@fcoury-oai
Copy link
Copy Markdown
Contributor

@fcoury-oai fcoury-oai commented May 1, 2026

Fixes #20501
Refs #20580.

Summary

  • add Alt+Enter to the built-in editor newline aliases
  • update keymap tests that used Alt+Enter as a custom submit binding now that it conflicts with newline
  • refresh the keymap action-menu snapshot fixture

Test Plan

  • just fmt
  • cargo test -p codex-tui keymap::tests
  • cargo test -p codex-tui bottom_pane::textarea::tests
  • cargo test -p codex-tui keymap_setup::tests
  • cargo test -p codex-tui
  • cargo insta pending-snapshots
  • git diff --check
  • just argument-comment-lint

@fcoury-oai fcoury-oai marked this pull request as ready for review May 1, 2026 14:06
@fcoury-oai fcoury-oai changed the title fix(tui): add alt-enter newline alias fix(tui): restore alt-enter newline alias May 1, 2026
@fcoury-oai fcoury-oai merged commit ff66b3c into main May 1, 2026
25 checks passed
@fcoury-oai fcoury-oai deleted the fcoury/fix-alt-enter branch May 1, 2026 18:22
@github-actions github-actions Bot locked and limited conversation to collaborators May 1, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Regression: Alt+Enter no longer inserts newline in VS Code WSL terminal

2 participants