Wide markdown tables collapse into stacked key-value cards instead of rendering as tables

Resolved 💬 8 comments Opened Apr 7, 2026 by waihonger Closed May 14, 2026

Description

When Claude generates a markdown table that exceeds the terminal width, the Ink/React renderer collapses it into a vertical key-value card format (one card per row, separated by horizontal rules). This makes tabular data nearly impossible to scan — 5 rows that would fit in one table view fill multiple screens of vertical cards.

Reproduction

Ask Claude to output any markdown table with 6+ columns of moderate width. The renderer will collapse it into stacked cards.

Expected vs Actual

The model outputs valid markdown tables. Writing the same response to a file and opening in VS Code confirms this:

VS Code (file output) — correct:

<img width="2192" height="684" alt="Image" src="https://github.com/user-attachments/assets/b6818e80-73b1-41db-b7ca-c62332d3fe18" />

Terminal (Ink renderer) — collapsed to cards:

<img width="1218" height="1258" alt="Image" src="https://github.com/user-attachments/assets/fda6e54e-7de7-4d51-a9ec-e5430209ec4b" />

Environment

  • macOS (Darwin 25.3.0)
  • Claude Code: 2.1.92
  • Terminal: default

Related issues

  • #24949 — exact same problem, auto-closed as stale without resolution

View original on GitHub ↗

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