Pressing "Ctl + T" while entering prompt permanently breaks keyboard input to codex (zsh: suspended (tty input) codex)

Resolved 💬 5 comments Opened Oct 15, 2025 by mason-spong Closed Jan 10, 2026

What version of Codex is running?

codex-cli 0.46.0

Which model were you using?

gpt-5-codex

What platform is your computer?

Darwin 24.3.0 arm64 arm

What steps can reproduce the bug?

Start codex by entering "codex" in command line (I am using ghostty)

When in the prompt entry input press "Ctl + t"

Observe that codex gets backgrounded and you can no longer type in terminal without control printouts.

After that if you try to launch codex it immediately prints out:

mason ~ % codex
zsh: suspended (tty input)  codex
                                 %                                                                                                                                                                                                                                                                                                                                                     mason ~ % 10;rgb:ffff/ffff/ffff
mason ~ % 11;rgb:2828/2c2c/3434

I cannot recover codex from this state. I can check jobs (by copy paste as can't type in terminal), foreground them or kill codex but same issue happens next time I launch. I tried reinstalling codex as well as ghostty and had same issues. I tried restarting computer, no help. I logged out of codex with "codex logout", and that allowed me to go through the logout flow, but when I logged back in I get the same issue.

No other CLI apps on my computer have this issue with input, it seems like a codex cli bug

What is the expected behavior?

I was trying to get into the "Transcript mode"

What do you see instead?

I see that codex immediately suspends itself every time I try to use it

Additional information

_No response_

View original on GitHub ↗

This issue has 5 comments on GitHub. Read the full discussion on GitHub ↗