minicrossterm/examples/Crossterm 0.3.0/bin.rs

22 lines
467 B
Rust
Raw Normal View History

//! This bin folder can be used to try the examples out located in the examples directory.
//!
//! All you need to do is:
2018-07-02 06:43:43 +10:00
//!
//! - Download the crossterm source code.
//! - Add this in the Cargo.toml file:
//! ``` [[bin]]
//! name = "example_bin"
//! path = "./examples/bin.rs"
//! ```
//!
//! - Run program with: `cargo run`
2018-01-04 00:43:54 +11:00
extern crate crossterm;
mod color;
2018-07-02 06:43:43 +10:00
mod cursor;
mod terminal;
fn main() {
2018-07-13 03:48:13 +10:00
// some code to try out the examples.
2018-07-02 06:43:43 +10:00
}