requestCursorColor static method

Cmd requestCursorColor()

Requests the terminal's cursor color.

This sends OSC 12 ? to the terminal. The terminal will respond with an OSC 12 sequence which is decoded into a CursorColorMsg.

Implementation

static Cmd requestCursorColor() =>
    Cmd(() async => WriteRawMsg(term_ansi.Ansi.requestCursorColor));