Skip to main content

write_xtgettcap

Function write_xtgettcap 

Source
pub fn write_xtgettcap<W: Write>(w: &mut W, caps: &[&str]) -> Result<()>
Expand description

Request terminal capability values with XTGETTCAP, ESC P + q <hex-caps> ESC \.

Each capability name in caps is hex-encoded as uppercase bytes and separated with ;. An empty slice emits nothing.