Terminal output formatting breaks (tables collapse, worse on resize)

Resolved 💬 1 comment Opened Jan 13, 2026 by Harshit-Dhyani Closed Jan 13, 2026

When Codex prints findings in a table-like layout, the output isn’t terminal-safe. Columns don’t align, long fields wrap unpredictably, and the report becomes hard to read quickly.

This gets noticeably worse when I resize the terminal window. Changing the terminal width/height changes wrapping and spacing, so the same output can look different and often becomes messier. That makes it unreliable to read while working.

Steps to reproduce

  1. Run a command that outputs the findings report in a table-like layout.
  2. Resize the terminal (narrower and wider).
  3. Observe the table alignment and wrapping degrade.

Expected behavior
Readable, stable output across typical terminal widths and while resizing (structure remains consistent and easy to scan).

Actual behavior
Misaligned columns, broken table structure, and inconsistent wrapping (especially after resizing).

Environment

  • OS: Windows 11 with Ubuntu (WSL)
  • Codex: OpenAI Codex v0.80.0
  • Model: gpt-5.2-codex (reasoning low, summaries auto)
  • Approval: on-request
  • Sandbox: workspace-write

thread ID 019bae1f-63e7-7853-86dd-b1910b1b3726

<img width="621" height="580" alt="Image" src="https://github.com/user-attachments/assets/303c2d0c-3743-424e-a543-9119b32561b4" />

<img width="625" height="551" alt="Image" src="https://github.com/user-attachments/assets/cc85b7b1-c4f1-4983-82f8-d8227e131c55" />

View original on GitHub ↗

This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗