Inconsistent Hotkey for Command Approval
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 125k
- Forks
- 19.4k
- PR merge metrics
- PR metrics pending
Description
What version of Codex CLI is running?
0.147.0
What subscription do you have?
company
Which model were you using?
No response
What platform is your computer?
No response
What terminal emulator and version are you using (if applicable)?
No response
Codex doctor report
What issue are you seeing?
The "Yes and don't ask again command" and "No, tell differently" are both mapped to hotkey 2 if there are 3 and 2 options. When approving multiple commands, it is easy to hit 2 resulting into "No, tell differently", even if I want to say "Yes".
What steps can reproduce the bug?
Uploaded thread: 01a00158-63a7-74d3-aced-299c41ca5fe8
What is the expected behavior?
No response
Additional information
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the command-approval flow described in the issue, using the uploaded thread 01a00158-63a7-74d3-aced-299c41ca5fe8 and Codex CLI 0.147.0. Trace how options are assigned numeric hotkeys when there are two or three choices. Done means the approval choices have distinct, predictable hotkeys and repeated command approvals no longer map both actions to 2.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100