Repository navigation
Description
What version of the Codex App are you using (From “About Codex” dialog)?
codex-cli 0.106.0
What subscription do you have?
plus
What platform is your computer?
macos
What issue are you seeing?
Environment
- OS: macOS 14.x (arm64)
- Shell: zsh
- Terminal: iTerm2 / Apple Terminal
- Codex CLI version: (run codex --version)
Issue Description
In the Codex CLI interactive prompt, pressing the Tab key triggers submission (equivalent to Enter) instead of performing shell-style autocompletion.
This breaks the expected terminal workflow, where Tab normally completes:
- File paths
- Commands
- Flags
- Previous tokens
Expected Behavior
Pressing Tab should:
- Autocomplete file paths or commands
OR - Provide a configurable option to choose between:
- Tab = autocomplete
- Tab = submit
Actual Behavior
Tab submits the prompt immediately, similar to pressing Enter.
Impact
This disrupts muscle memory and standard CLI ergonomics, particularly when working with file paths or long commands.
Suggestion
Add:
-
Native Tab autocompletion support
OR -
A configuration option in ~/.codex/config.toml such as:
tab_behavior = "autocomplete" # or "submit"
Thank you.
What steps can reproduce the bug?
Environment
- OS: macOS 14.x (arm64)
- Shell: zsh
- Terminal: iTerm2 / Apple Terminal
- Codex CLI version: (run codex --version)
Issue Description
In the Codex CLI interactive prompt, pressing the Tab key triggers submission (equivalent to Enter) instead of performing shell-style autocompletion.
This breaks the expected terminal workflow, where Tab normally completes:
- File paths
- Commands
- Flags
- Previous tokens
Expected Behavior
Pressing Tab should:
- Autocomplete file paths or commands
OR - Provide a configurable option to choose between:
- Tab = autocomplete
- Tab = submit
Actual Behavior
Tab submits the prompt immediately, similar to pressing Enter.
Impact
This disrupts muscle memory and standard CLI ergonomics, particularly when working with file paths or long commands.
Suggestion
Add:
-
Native Tab autocompletion support
OR -
A configuration option in ~/.codex/config.toml such as:
tab_behavior = "autocomplete" # or "submit"
Thank you.
What is the expected behavior?
No response
Additional information
No response
Activity
github-actions commentedon Feb 28, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
etraut-openai commentedon Feb 28, 2026
This is a duplicate of #12939.