Skip to content

Support Ctrl+P/Ctrl+N in resume picker#18267

Merged
etraut-openai merged 4 commits intomainfrom
etraut/resume-keys
Apr 17, 2026
Merged

Support Ctrl+P/Ctrl+N in resume picker#18267
etraut-openai merged 4 commits intomainfrom
etraut/resume-keys

Conversation

@etraut-openai
Copy link
Copy Markdown
Collaborator

@etraut-openai etraut-openai commented Apr 17, 2026

Fixes #18179.

Why

The fullscreen /resume picker accepted Up/Down navigation but ignored Ctrl+P/Ctrl+N, which made it inconsistent with other TUI selection flows such as ListSelectionView-backed pickers and composer navigation.

What Changed

Updated codex-rs/tui/src/resume_picker.rs so the resume picker treats Ctrl+P/Ctrl+N as aliases for Up/Down, including the raw ^P/^N control-character events some terminals emit without a CONTROL modifier.

Comment thread codex-rs/tui/src/resume_picker.rs Outdated
Copy link
Copy Markdown
Contributor

@fcoury-oai fcoury-oai left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested and works. Code looks good. Approved.

@etraut-openai etraut-openai merged commit c3ecb55 into main Apr 17, 2026
25 checks passed
@etraut-openai etraut-openai deleted the etraut/resume-keys branch April 17, 2026 15:38
@github-actions github-actions bot locked and limited conversation to collaborators Apr 17, 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.

Support Ctrl+P / Ctrl+N navigation in /resume picker

2 participants