terminal-framework 0.0.2

A simple library to manage the terminal via ANSI escape sequences
Documentation
1
2
3
4
5
6
7
pub trait Cursor {
    fn move_up(&mut self, lines: Option<usize>);
    fn move_down(&mut self, lines: Option<usize>);
    fn move_right(&mut self, cols: Option<usize>);
    fn move_left(&mut self, cols: Option<usize>);
    fn position(&mut self, x: usize, y: usize);
}