Crate terminal_font

Source

Re-exports§

pub use custom_color::*;
pub use decorate::*;
pub use escape::*;
pub use functions::simple_background::*;
pub use functions::simple_foreground::*;
pub use functions::simple_style::*;
pub use functions::simple_style_alias::*;

Modules§

custom_color
decorate
This mod only contains basic simple decoration functions and methods. As for the customized colors, please refer to the custom_color module. And as for the safe decorate, please refer to the render module.
escape
Define ANSI escape sequences, and provide commonly used constants and constructors. The core macro of this mod is escape!. And all constants inside the child mods except custom are generated by such macro.
functions
Function encapsulations for decorate and render. It’s usually used when you need something like a colorizer.
render

Macros§

escape
Generate ANSI escape sequence according to the given parameters. You can either use it with a single parameter or multiple parameters: