fn sgr(fg: Color, m: Modifier) -> StringExpand description
The SGR run for one cell’s style, in the escapes term already declares.
Only the palette Mira uses is mapped, and background colour is not part of it — the one thing drawn on a coloured field is the selection, and that is reverse video so it inherits whatever the terminal’s own scheme is. A migration that invented a 256-colour theme on the way past would be changing the program rather than porting it.