cl_repl/ansi.rs
1//! ANSI escape sequences
2
3pub const RED: &str = "\x1b[31m";
4pub const GREEN: &str = "\x1b[32m"; // the color of type checker mode
5pub const CYAN: &str = "\x1b[36m";
6pub const BRIGHT_GREEN: &str = "\x1b[92m";
7pub const BRIGHT_BLUE: &str = "\x1b[94m";
8pub const BRIGHT_MAGENTA: &str = "\x1b[95m";
9pub const BRIGHT_CYAN: &str = "\x1b[96m";
10pub const RESET: &str = "\x1b[0m";
11pub const OUTPUT: &str = "\x1b[38;5;117m";
12
13pub const CLEAR_LINES: &str = "\x1b[G\x1b[J";
14pub const CLEAR_ALL: &str = "\x1b[H\x1b[2J";