[go: up one dir, main page]

Crate anstyle_svg

Source
Expand description

Convert ANSI escape codes to SVG

See Term

§Example

let vte = std::fs::read_to_string("tests/rainbow.vte").unwrap();
let svg = Term::new().render_svg(&vte);

demo of supported styles

Structs§

Palette
A color palette for rendering 4-bit anstyle::AnsiColor
Term
Define the terminal-like settings for rendering output

Constants§

VGA
Typical colors that are used when booting PCs and leaving them in text mode
WIN10_CONSOLE
Campbell theme, used as of Windows 10 version 1709.