clgui/
cursor.rs

1pub fn move_up(units: u32) -> String { format!("\x1b[{}A", units) }
2pub fn move_down(units: u32) -> String { format!("\x1b[{}B", units) }
3pub fn move_right(units: u32) -> String { format!("\x1b[{}C", units) }
4pub fn move_left(units: u32) -> String { format!("\x1b[{}D", units) }
5
6pub fn goto(x: u32, y: u32) -> String { format!("\x1b[{};{}H", x, y) }