Skip to main content

write_el

Function write_el 

Source
pub fn write_el<W: Write>(w: &mut W, n: u16) -> Result<()>
Expand description

Erase in line with EL, ESC [ <n> K.

n == 0 emits ESC [ K (cursor through end of line), 1 erases start through cursor, and 2 erases the entire line. Other values are emitted as provided.