Per-source rendering state that persists across line renders. Carries the
SGR style register and the current OSC 8 hyperlink so that an unclosed
\x1b[31m on line N keeps line N+1 red until reset.
Inverse of the relevant range of rgb_to_256: the RGB triple for an xterm
256-color index in the 6×6×6 cube (16..=231) or the grayscale ramp
(232..=255). Indices 0..=15 (terminal-defined) are not produced by
rgb_to_256; we map them to black defensively.
Full expanded display width of a line in columns (tabs expanded to tab
stops, cluster widths summed). Used by the viewport to clamp horizontal
scroll. Independent of cols/left_col.