display 0.1.2

Interchangable display backends
Documentation
1
2
3
4
5
6
7
8
pub trait Display {
    fn new(width: i32, height: i32, name: String) -> Self;
    fn draw(&mut self, ch: char, x: i32, y: i32);
    fn get_key(&mut self) -> String;
    fn refresh(&mut self);
    fn clear(&mut self);
    fn close(&mut self);
}