requestBackgroundColor static method

Cmd requestBackgroundColor()

Requests the terminal's background color.

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

Implementation

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