/// Escape whatever's being sent
/// in here to an ansi code
pubstructAnsi{}implAnsi{/// Add the required escape and terminator characters to
/// an ansi code.
pubfnescape(code:u8)-> String{format!("\x1B[{}m", code)}/// Clears the line of all characters
pubfnclear_line(){print!("\r\x1B[2K");}}