Usability improvement suggestions for codex cli - Select All, Copy, Paste, Delete
Open 💬 0 comments Opened May 14, 2026 by avnishbm
What version of Codex CLI is running?
codex-cli 0.130.0
What subscription do you have?
Azure AI
Which model were you using?
gpt-5.4 medium
What platform is your computer?
Darwin 25.4.0 arm64 arm
What terminal emulator and version are you using (if applicable)?
Terminal 2.15 (470)
Codex doctor report
What issue are you seeing?
- Select All in prompt window not working as expected: In the prompt window of codex cli, when we do Ctrl + a, it selects everything in the terminal! It was expected to select only the contents of the prompt window instead! One may want to select all of the prompt and either delete/overwrite or copy (Ctrl + c) all content of the prompt.
- Copy-Paste spoils the text formatting: When we manually select the content within the prompt window and right click on copy or press Ctrl + c, and then we paste it out in some other text editor, it adds extra indents and new lines in the text which were not there in original prompt text! This spoils the formatting of the text! Have tried this using multiple text editors including zed, textpad and so on.
What steps can reproduce the bug?
Uploaded thread: 019e2280-059d-7990-bfd9-e623c75b0031
Steps:
- Select All in prompt window not working as expected: In the prompt window of codex cli, when we do Ctrl + a, it selects everything in the terminal! It was expected to select only the contents of the prompt window instead! One may want to select all of the prompt and either delete/overwrite or copy (Ctrl + c) all content of the prompt.
- Copy-Paste spoils the text formatting: When we manually select the content within the prompt window and right click on copy or press Ctrl + c, and then we paste it out in some other text editor, it adds extra indents and new lines in the text which were not there in original prompt text! This spoils the formatting of the text! Have tried this using multiple text editors including zed, textpad and so on.
What is the expected behavior?
- Ctrl + a in prompt window should only select all of the prompt text.
- Once text is copied from prompt window and pasted in any text editor, it should have the exact same formatting as it was within the prompt window, no extra indents / space and new lines!
Additional information
_No response_