Skip to main content

write_rep

Function write_rep 

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

Repeat the preceding printable character with REP.

n <= 1 emits ESC [ b; larger counts emit ESC [ <n> b. Use only when the terminal supports REP and the preceding character is repeatable.