pub fn write_set_mode<W: Write>(w: &mut W, modes: &[Mode]) -> Result<()>Expand description
Set one or more modes.
DEC private modes emit ESC [ ? ... h; ANSI modes emit ESC [ ... h. If modes contains both kinds, this function writes one DEC sequence and one ANSI sequence. An empty slice emits nothing.