Expand description
Handles terminal ANSI -> TUI Style conversion
§Example
use std::process::Command;
let c = Command::new("ls")
.args(&["--color=always", "~"])
.output()
.unwrap();
let text = ansi4tui::bytes_to_text(c.stdout);Functions§
- bytes_
to_ text - Converts ANSI-escaped strings to tui-rs compatible text