|
|
|
|
|
by shiomiru
374 days ago
|
|
> The idea of taking a screenshot of the terminal and then parsing that
to determine the true colour support is definitely novel, A better way to do this is to send `OSC 1 0 ; ? ST` (query foreground
color), `OSC 1 1 ; ? ST` (background color), then `OSC 4 ; {n} ; ? ST`
where {n} is the nth XTerm color. See: https://invisible-island.net/xterm/ctlseqs/ctlseqs.html#h4-O... |
|