clgui 0.1.0

A minimalist library for terminal GUIs
Documentation
1
2
3
4
5
6
pub fn move_up(units: u32) -> String { format!("\x1b[{}A", units) }
pub fn move_down(units: u32) -> String { format!("\x1b[{}B", units) }
pub fn move_right(units: u32) -> String { format!("\x1b[{}C", units) }
pub fn move_left(units: u32) -> String { format!("\x1b[{}D", units) }

pub fn goto(x: u32, y: u32) -> String { format!("\x1b[{};{}H", x, y) }