Crate crossterm_utils

Source
Expand description

§Utils

The crossterm_utils crate is deprecated and no longer maintained. The GitHub repository will be archived soon. All the code is being moved to the crossterm crate. You can learn more in the Merge sub-crates to the crossterm crate issue.

This crate is not meant for standalone use and is really just a library with some common used code for the crossterm crate and the above named modules.

This crate will be deprecated soon and no longer maintained. It’s highly recommended to not use it.

Re-exports§

pub use self::error::ErrorKind;
pub use self::error::Result;

Modules§

error
Module containing error handling logic.
macros
sys

Macros§

csi
Append a the first few characters of an ANSI escape code to the given string.
execute
Execute one or more command(s)
impl_display
impl_from
queue
Queue one or more command(s) for execution in the near future.
write_cout
Write a string to standard output whereafter the stdout will be flushed.

Structs§

Output
When executed, this command will output the given string to the terminal.

Traits§

Command
A command is an action that can be performed on the terminal.
ExecutableCommand
A trait that defines behaviour for a command that will be executed immediately.
QueueableCommand
A trait that defines behaviour for a command that can be used to be executed at a later time point. This can be used in order to get more performance.