2018-08-12 22:51:08 +10:00
|
|
|
//! This bin folder can be used to try the examples out located in the examples directory.
|
|
|
|
//!
|
|
|
|
//! All you need to do is:
|
|
|
|
//!
|
|
|
|
//! - Download the crossterm source code.
|
|
|
|
//! - Run program with: `cargo run --example examples`
|
|
|
|
|
|
|
|
extern crate crossterm;
|
|
|
|
|
|
|
|
// modules that could be test
|
2019-01-01 05:55:48 +11:00
|
|
|
mod color;
|
|
|
|
mod cursor;
|
|
|
|
mod input;
|
2018-11-26 00:17:11 +11:00
|
|
|
//mod some_types;
|
2019-01-01 05:55:48 +11:00
|
|
|
mod terminal;
|
2018-08-12 22:51:08 +10:00
|
|
|
|
2019-01-01 05:55:48 +11:00
|
|
|
fn main() {
|
|
|
|
use input::keyboard::input;
|
|
|
|
|
|
|
|
// color::print_all_foreground_colors();
|
|
|
|
// color::print_all_background_colors();
|
|
|
|
|
|
|
|
use terminal::alternate_screen;
|
|
|
|
// color::print_all_background_colors();
|
|
|
|
// color::print_all_foreground_colors();
|
|
|
|
|
|
|
|
alternate_screen::print_wait_screen_on_alternate_window();
|
|
|
|
}
|