[BUG] status line: all lines beyond the first line disappear when the first line is truncated by "Context low ..." message

Resolved 💬 2 comments Opened Mar 1, 2026 by zzJinux Closed Mar 2, 2026

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?

When both the first line of the status line and the Context low (8% remaining) ... message appear, and the terminal is not wide enough to fit them all, lines after the first line are truncated as well.

What Should Happen?

Regardless of how the first line display is modified, lines after it should be displayed without any issue.

Error Messages/Logs

Steps to Reproduce

status line settings

{
    "type": "command",
    "command": "echo 'one one one one one one one one one one one one one one one\ntwo\nthree'",
    "padding": 0
  }

Consume the context window until the "Context low" message appears.

Claude Model

None

Is this a regression?

Yes, this worked in a previous version

Last Working Version

_No response_

Claude Code Version

2.1.63

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

iTerm2

Additional Information

<img width="702" height="107" alt="Image" src="https://github.com/user-attachments/assets/80a44ce9-4e6c-4f4a-aa9d-2b64cebf8f07" />

<img width="755" height="140" alt="Image" src="https://github.com/user-attachments/assets/6afe12db-4a8f-40d4-a817-6a6d3b839385" />

View original on GitHub ↗

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