2018-01-04 00:43:54 +11:00
|
|
|
extern crate crossterm;
|
|
|
|
|
2018-01-18 09:06:45 +11:00
|
|
|
use self::crossterm::crossterm_style::*;
|
2018-01-19 08:47:09 +11:00
|
|
|
use self::crossterm::crossterm_cursor;
|
2018-01-18 09:06:45 +11:00
|
|
|
use self::crossterm::crossterm_terminal::*;
|
2018-01-10 06:36:48 +11:00
|
|
|
|
2018-01-18 09:06:45 +11:00
|
|
|
use std::io::{stdin, stdout, Write};
|
2018-01-10 06:36:48 +11:00
|
|
|
|
2018-01-18 09:06:45 +11:00
|
|
|
pub mod color;
|
|
|
|
pub mod cursor;
|
|
|
|
pub mod terminal;
|
2018-01-07 07:31:14 +11:00
|
|
|
|
2018-01-18 09:06:45 +11:00
|
|
|
fn main() {
|
2018-01-26 04:26:08 +11:00
|
|
|
terminal::resize_terminal();
|
2018-01-19 08:47:09 +11:00
|
|
|
|
2018-01-26 04:26:08 +11:00
|
|
|
print!(paint("asdf").with(Color::Black).on(Color::Red).black().red());
|
|
|
|
println!()
|
2018-01-07 07:31:14 +11:00
|
|
|
}
|