[Bug] Context indicator wraps character-by-character in narrow terminals

Resolved 💬 5 comments Opened Jan 31, 2026 by rajivpoddar Closed Mar 8, 2026

Bug Description
Context indicator wraps vertically when terminal is narrow

The "Context left until auto_compact: X%" indicator on the right side of the screen wraps character-by-character
vertically when the terminal window is too narrow to fit it horizontally. This makes it unreadable. Expected behavior:
the indicator should either truncate, hide, or wrap as a full line instead of displaying one character per line.

Environment Info

  • Platform: darwin
  • Terminal: tmux
  • Version: 2.1.27
  • Feedback ID: 2ff5a883-9d95-423d-9b84-240129d1fa38

Errors

[{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"thinking.enabled.budget_tokens: Input should be greater than or equal to 1024\"},\"request_id\":\"req_011CXfozS3qBHbdTEEQzjYpS\"}\n    at generate (/$bunfs/root/claude:343:8698)\n    at makeRequest (/$bunfs/root/claude:360:5435)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-01-31T16:58:31.937Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"thinking.enabled.budget_tokens: Input should be greater than or equal to 1024\"},\"request_id\":\"req_011CXfpHMtnAasN7PmaBNphY\"}\n    at generate (/$bunfs/root/claude:343:8698)\n    at makeRequest (/$bunfs/root/claude:360:5435)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-01-31T17:02:21.648Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"thinking.enabled.budget_tokens: Input should be greater than or equal to 1024\"},\"request_id\":\"req_011CXfq1HX22kaDpiMPvQLg4\"}\n    at generate (/$bunfs/root/claude:343:8698)\n    at makeRequest (/$bunfs/root/claude:360:5435)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-01-31T17:11:50.320Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"thinking.enabled.budget_tokens: Input should be greater than or equal to 1024\"},\"request_id\":\"req_011CXfqLRLqhgMDgWpPKwBbV\"}\n    at generate (/$bunfs/root/claude:343:8698)\n    at makeRequest (/$bunfs/root/claude:360:5435)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-01-31T17:16:09.941Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"thinking.enabled.budget_tokens: Input should be greater than or equal to 1024\"},\"request_id\":\"req_011CXfqVSkBJp5AZoTPBs5X6\"}\n    at generate (/$bunfs/root/claude:343:8698)\n    at makeRequest (/$bunfs/root/claude:360:5435)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-01-31T17:18:12.565Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"thinking.enabled.budget_tokens: Input should be greater than or equal to 1024\"},\"request_id\":\"req_011CXfqk38XufDZWdnjwywvr\"}\n    at generate (/$bunfs/root/claude:343:8698)\n    at makeRequest (/$bunfs/root/claude:360:5435)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-01-31T17:21:30.306Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"thinking.enabled.budget_tokens: Input should be greater than or equal to 1024\"},\"request_id\":\"req_011CXfrAuTci2kB6Co2uazAh\"}\n    at generate (/$bunfs/root/claude:343:8698)\n    at makeRequest (/$bunfs/root/claude:360:5435)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-01-31T17:27:07.672Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"thinking.enabled.budget_tokens: Input should be greater than or equal to 1024\"},\"request_id\":\"req_011CXfrLuLCueTktzr3CTTtk\"}\n    at generate (/$bunfs/root/claude:343:8698)\n    at makeRequest (/$bunfs/root/claude:360:5435)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-01-31T17:29:23.347Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"thinking.enabled.budget_tokens: Input should be greater than or equal to 1024\"},\"request_id\":\"req_011CXfvHT5XD7HLjRDtv3FRP\"}\n    at generate (/$bunfs/root/claude:343:8698)\n    at makeRequest (/$bunfs/root/claude:360:5435)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-01-31T18:21:03.797Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"thinking.enabled.budget_tokens: Input should be greater than or equal to 1024\"},\"request_id\":\"req_011CXfvoERrHHa6VSW5ru83U\"}\n …

Note: Content was truncated.

View original on GitHub ↗

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