TUI renders with 1-character column width on startup (Windows Terminal)

Resolved 💬 3 comments Opened Feb 21, 2026 by ultimaratiofilm Closed Feb 24, 2026

Description

On startup, the Claude Code TUI briefly renders with a column width of 1 character for ~2 seconds before correcting itself. Every character appears on its own line, making the startup screen unreadable until the terminal resize event fires.

What's displayed

The status bar info (API usage, time limits, CLAUDE.md count) is rendered vertically — each character on its own line:

2
7
%

(
1
h

4
6
m
...

Instead of the expected horizontal layout: 27% (1h 46m / 5h)

Expected behavior

The TUI should render at the correct terminal width immediately on startup.

Actual behavior

The TUI initially detects a terminal width of 1 character. After ~2 seconds, a resize event corrects the layout and everything displays normally.

Screenshot

!Screenshot 2026-02-21

Note: Screenshot shows the 1-char-wide rendering. Will attach below.

Environment

  • Claude Code version: v2.1.49
  • OS: Windows 11 Pro (10.0.26200)
  • Terminal: Windows Terminal
  • Shell: bash
  • Platform: win32

View original on GitHub ↗

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