mirror of
https://github.com/usestrix/strix.git
synced 2026-08-25 04:12:37 +02:00
A long blocked-safety reason showed its amber only on the first row. wrapBlock wraps an over-width line with ansi.Wrap, which emits the opening SGR on the first row and the reset on the last, leaving the continuation rows unstyled — so a wrapped colored line (a safety block reason, a long error) lost its color after the first row. carryStyle re-opens the active style on each continuation row and terminates each with a reset. Any colored line wider than the chat width was affected; block reasons are just the first routinely-long one. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>