1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
//! 
//!
//! Simpleterm is a bespoke fake terminal created with piston_window.
//!
//! It lets you create a window, send messages to it, grab input from the user, and display ascii art!
//! You can also change the terminal's settings at any time, allowing you to create complicated scripts of actions.
//!
//! 
//!
//! ## Getting Started
//!
//! 1. Run the example with "cargo run"
//! 2. Examine the example main.rs file and read up on the [Terminal functions](terminal/struct.Terminal.html)
//! 3. Write you own script in main.rs and try it out!
//!
//! ## License
//!
//! This project is licensed under the MIT License - see the [LICENSE.md](https://github.com/tjhaskel/rust_simpleterm/blob/master/LICENSE.md) file for details
use Duration;
/// Ascii art strings.
/// Draws rectangles and text on the terminal window.
/// Creates and interacts with a terminal window.
/// Contains functions related to text color and bounds.
/// Indicates the x and y offset of the text and surrounding box from the corners of the terminal window.
pub const TEXT_OFFSET: = ;
/// How long should elements like "Press Enter to Continue" or the input cursor take before toggling their flash state.
pub const FLASH_TIME: Duration = from_millis;
/// How long should the terminal take to type a single character when displaying a message.
pub const TYPE_TIME: Duration = from_millis;