Files
strix/strix/interface/tui/internal/app
oyasumiandClaude Opus 5 d6c5b410ad fix(tui): keep color across every wrapped row of a tool result line
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>
2026-08-08 02:05:49 +00:00
..