Cross platform terminal library rust
std::io::Write
supports_ansi
public&'a str
SetTitle
command to change the terminal title.Colorize
and Styler
impls, add an impl for String
/dev/tty
.STDOUT_FILENO
if /dev/tty
is missing.Command
for &T: Command
. This allows commands to be queued by reference, as well as by value.Clone
trait bounds from StyledContent
.StyledContent::style_mut
.execute!
and queue!
.execute!
and queue!
.ContentStyle::apply
to take self by value instead of reference, to prevent an unnecessary extra clone.Debug
, Clone
, Copy
, etc) to all of the command structsResetColor
uses &'static str
instead of String
queue
macro were it consumed a type and required an type to be Copy
.