requestTerminalColors static method
Requests terminal foreground/background/cursor color reports (OSC 10/11/12), plus DA1 as a follow-up.
When UV input decoding is enabled, these are translated to BackgroundColorMsg, ForegroundColorMsg, or CursorColorMsg instances by the UV adapter.
Implementation
static Cmd requestTerminalColors() => writeRaw(
term_ansi.Ansi.requestForegroundColor +
term_ansi.Ansi.requestBackgroundColor +
term_ansi.Ansi.requestCursorColor +
term_ansi.Ansi.requestPrimaryDeviceAttributes,
);