[BUG] claude agents: status bar ignores terminal width, always renders at 80 columns

Status Fixed / completed
Reported on v2.1.142
Maintainer reply ✓ Yes — bogini
Activity 3 comments · opened May 25, 2026 · closed May 27, 2026
💡 Likely answer: A maintainer (bogini, collaborator) responded on this thread — see the highlighted reply below.

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

claude agents status bar renders truncated as if terminal is 80 columns wide, regardless of the actual terminal width.
The main claude command works correctly once $COLUMNS is exported in the shell. claude agents ignores $COLUMNS entirely — no shell-level workaround has any effect (alias, function wrapper, env prefix like COLUMNS=$(tput cols) claude agents).

What Should Happen?

claude agents should detect and use the full terminal width, consistent with the behavior of the main claude command.

Error Messages/Logs

No error output. Status bar silently truncates at ~80 columns with "..." on Session ID, Context bar, and other fields.

Steps to Reproduce

  1. Open a terminal wider than 80 columns (tested: 202 columns on macOS Terminal.app)
  2. Verify width: run echo $COLUMNS; tput cols → both return 202
  3. Run claude → status bar renders correctly at full width
  4. Exit and run claude agents → status bar truncated at ~80 columns
  5. Try workaround: COLUMNS=$(tput cols) claude agents → no change

Claude Model

Not sure / Multiple models

Is this a regression?

I don't know

Last Working Version

_No response_

Claude Code Version

2.1.142 (Claude Code)

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

_No response_

View original on GitHub ↗

3 Comments

github-actions[bot] · 4 months ago

Found 2 possible duplicate issues:

  1. https://github.com/anthropics/claude-code/issues/61732
  2. https://github.com/anthropics/claude-code/issues/22115

This issue will be automatically closed as a duplicate in 3 days.

  • If your issue is a duplicate, please close it and 👍 the existing issue instead
  • To prevent auto-closure, add a comment or 👎 this comment

🤖 Generated with Claude Code

bogini collaborator · 4 months ago

Addressed by a merged fix. Please reopen with a fresh repro if you still see this on a current version.

github-actions[bot] · 2 months ago

This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.