What version of Codex CLI is running?
codex-cli 0.131.0-alpha.4
What subscription do you have?
Pro plan
Which model were you using?
Not model-specific. This is TUI resize/rendering behavior.
What platform is your computer?
Darwin 25.4.0 arm64 arm
What terminal emulator and version are you using (if applicable)?
Ghostty 1.3.1. No multiplexer observed. TERM=xterm-ghostty.
What issue are you seeing?
Codex continues rendering to a stale terminal size after the enclosing terminal or pane is resized. New output remains wrapped/clipped to the old dimensions even after the terminal has been restored to a larger size.
The transcript area itself also remains trapped in a smaller box than the actual window size. Once it gets into this state, it does not seem to recover on its own.
Switching to another agent and back forces a redraw. Sometimes Ctrl-L helps. Neither is a fix.
Current repro attachment:
https://github.com/user-attachments/assets/18fd498d-f627-429d-85be-740686542f05
This is the same user-visible failure discussed in #5576. Since #5576 is being treated as fixed/closed, here is the requested fresh report:
#5576 (comment)
What steps can reproduce the bug?
- Open Codex CLI in Ghostty 1.3.1.
- Start a session that produces enough output to make wrapping and scrollback visible.
- Resize the Ghostty window or pane smaller while Codex is running.
- Resize it back larger, or toggle Ghostty focus mode so the pane changes size.
- Continue interacting with Codex.
- Observe that Codex keeps rendering as if it is still at the old size, with the transcript/content area constrained to a smaller box inside the larger terminal.
What is the expected behavior?
Codex should repaint/reflow the TUI according to the current terminal dimensions after resize. New output, transcript content, dialogs, and the input area should use the current width and height without requiring agent switching, Ctrl-L, or exit/resume.
Additional information
Observed after updating through 0.129.0, 0.130.0, and 0.131.0-alpha.4.
Related:
What version of Codex CLI is running?
codex-cli 0.131.0-alpha.4
What subscription do you have?
Pro plan
Which model were you using?
Not model-specific. This is TUI resize/rendering behavior.
What platform is your computer?
Darwin 25.4.0 arm64 arm
What terminal emulator and version are you using (if applicable)?
Ghostty 1.3.1. No multiplexer observed.
TERM=xterm-ghostty.What issue are you seeing?
Codex continues rendering to a stale terminal size after the enclosing terminal or pane is resized. New output remains wrapped/clipped to the old dimensions even after the terminal has been restored to a larger size.
The transcript area itself also remains trapped in a smaller box than the actual window size. Once it gets into this state, it does not seem to recover on its own.
Switching to another agent and back forces a redraw. Sometimes
Ctrl-Lhelps. Neither is a fix.Current repro attachment:
https://github.com/user-attachments/assets/18fd498d-f627-429d-85be-740686542f05
This is the same user-visible failure discussed in #5576. Since #5576 is being treated as fixed/closed, here is the requested fresh report:
#5576 (comment)
What steps can reproduce the bug?
What is the expected behavior?
Codex should repaint/reflow the TUI according to the current terminal dimensions after resize. New output, transcript content, dialogs, and the input area should use the current width and height without requiring agent switching,
Ctrl-L, or exit/resume.Additional information
Observed after updating through 0.129.0, 0.130.0, and 0.131.0-alpha.4.
Related: