Expand description
Output
is the output stream that deals with ANSI Escape codes.
normally you should not use it directly.
use std::io;
use tuikit::attr::Color;
use tuikit::output::Output;
let mut output = Output::new(Box::new(io::stdout())).unwrap();
output.set_fg(Color::YELLOW);
output.write("YELLOW\n");
output.flush();
Structs
Output is an abstraction over the ANSI codes.
Enums
Instead of calling functions of Output
, we could send commands.