[go: up one dir, main page]

[][src]Crate crossterm_utils

Re-exports

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

Modules

commands

This module contains some commands that could be executed for a specific task. A Command is just a little wrapper.

error

Module containing error handling logic.

macros
sys

Macros

csi

Structs

TerminalOutput

Struct that is a handle to the current terminal screen.

Functions

write

This function is used by 'ANSI' modules. Those modules are using an Option of TerminalOutput. Because it is an option it could be either 'None' or 'Some'. When the TerminalOutput is 'None' we write our 'ANSI' escape codes to the default stdout() if it is a Some

write_str

This function is used by 'ANSI' modules. Those modules are using an Option of TerminalOutput. Because it is an option it could be either 'None' or 'Some'. When the TerminalOutput is 'None' we write our 'ANSI' escape codes to the default stdout() if it is a Some