[BUG] Broken rendering on narrow terminal especially with "Context left until ..."
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?
On narrow terminal "Context left until auto completion..." writing renders as one letter column making it super high and taking up tons of vertical space as on picture below:
<img width="1728" height="1725" alt="Image" src="https://github.com/user-attachments/assets/fcf86dd9-8540-4f70-bfbc-500233c872cc" />
What Should Happen?
Claude Code CLI should be smarter about layout on more narrow terminals always (also in /menus etc), Claude Code CLI acceptence tests should probably include tests covering all terminal widths and fuzzing on configuration (like lengths of custom commands, plugin names etc) and asserts for esthetics utlization of terminal space and definitely not such such wated spaces of missing important information.
Error Messages/Logs
Steps to Reproduce
After"Context left until..." appeared , just keep narrowing terminal and observe what happens until you hit very inefficient rendering layout
Claude Model
Not sure / Multiple models
Is this a regression?
I don't know
Last Working Version
_No response_
Claude Code Version
2.1.34
Platform
Anthropic API
Operating System
Other Linux
Terminal/Shell
Other
Additional Information
_No response_
This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗