egui_sgr 0.2.1

A Rust library that converts ASCII/ANSI escape sequence color models into colored text in egui
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
//! Legacy color model helpers used by the compatibility API.

/// 8-bit ANSI color helpers.
pub mod eight_bit;
/// 4-bit ANSI color helpers.
pub mod four_bit;
/// 24-bit ANSI true-color helpers.
pub mod twenty_four_bit;

// Re-export the main functions for easier external use
pub use eight_bit::parse_8bit_color;
pub use four_bit::parse_4bit_color;
pub use twenty_four_bit::parse_24bit_color;