Skip to main content

write_cub

Function write_cub 

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

Move the cursor backward/left n columns with CUB.

n == 0 emits nothing, n == 1 emits ESC [ D, and larger counts emit ESC [ <n> D.