Splash screen left panel does not expand to fit long cwd path

Resolved 💬 3 comments Opened Apr 15, 2026 by TricoreWizard Closed May 24, 2026

Summary
On the startup splash screen, the left sub-panel of the two-column welcome box is sized to fit the welcome text / email / org lines. When the current working directory is longer than that computed inner width, the cwd path overflows past the right border of the left panel, corrupting that row of the box drawing and pushing content into the adjacent cell.

Version
Claude Code v2.1.109 (Opus 4.6 1M context)

Repro

  1. cd into a directory with a reasonably long absolute path, e.g. /mnt/c/dev/ImGui-Terminal/cmake-build-release
  2. Run claude
  3. Observe the splash box

Expected
The left panel either:

  • expands to the width of the widest line it contains (including the cwd), or
  • truncates / wraps the cwd to fit, or
  • resizes both columns proportionally to the available terminal width.

Actual
The cwd path is printed past the right edge of the left panel. The border of the left panel is missing on that row; the path text runs into the right panel area.

Notes

  • Terminal is plenty wide (160 cols, ~2100 px wide window).
  • Reproducible in any terminal once the cwd exceeds the panel inner width.
  • First encountered in a custom ImGui-based terminal while debugging, but confirmed it is not terminal-specific — purely a splash layout sizing issue.

View original on GitHub ↗

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