What version of Codex is running?
0.47.0
What subscription do you have?
Pro plan
Which model were you using?
gpt-5-high
What platform is your computer?
macOS
What issue are you seeing?
When the Codex CLI is producing output and I resize the terminal window to a smaller (half) width, the new output lines wrap to fit the reduced width. However, when I resize the window back to the original/full width while Codex is still outputting, the subsequent output remains constrained to the smaller width. It does not expand to fill the full width of the terminal, so the text continues to wrap at the narrower width even though the window has been restored.
What steps can reproduce the bug?
- Launch the Codex CLI and start a task that prints multiple lines of output continuously.
- While the CLI is outputting content, resize the terminal or window to approximately half of its original width.
- Notice that the new output lines adjust to the smaller width as expected.
- Without stopping the task, resize the terminal back to its original or a wider width.
- Observe that the subsequent output still uses the narrower width, even though the window has been resized back to full size.
What is the expected behavior?
After resizing the window back to its original or larger width, the Codex CLI should adjust the output to the new width. New lines of output should wrap according to the current window size, so they use the full available width rather than remaining restricted to the narrower width used during the temporary resize.
Additional information
No response
What version of Codex is running?
0.47.0
What subscription do you have?
Pro plan
Which model were you using?
gpt-5-high
What platform is your computer?
macOS
What issue are you seeing?
When the Codex CLI is producing output and I resize the terminal window to a smaller (half) width, the new output lines wrap to fit the reduced width. However, when I resize the window back to the original/full width while Codex is still outputting, the subsequent output remains constrained to the smaller width. It does not expand to fill the full width of the terminal, so the text continues to wrap at the narrower width even though the window has been restored.
What steps can reproduce the bug?
What is the expected behavior?
After resizing the window back to its original or larger width, the Codex CLI should adjust the output to the new width. New lines of output should wrap according to the current window size, so they use the full available width rather than remaining restricted to the narrower width used during the temporary resize.
Additional information
No response