Skip to main content

write_light_dark_report

Function write_light_dark_report 

Source
pub fn write_light_dark_report<W: Write>(w: &mut W, dark: bool) -> Result<()>
Expand description

Encode a light/dark report response.

dark == true emits ESC [ ? 997 ; 1 n; false emits ESC [ ? 997 ; 2 n.