As with other #Rust #terminal crates, you write zero-sized structs to execute #prettytty commands. But it goes further: To perform a query, the same struct also knows how to parse a response from an ANSI escape sequence. And the runtime knows how to recognize those. 💥 80+ builtin commands! 🎉 (3/3)
Prettypretty's #Rust version optionally uses the new #prettytty crate for interacting with the #terminal. Prettytty distinguishes itself from other terminal crates by being cross-platform while also lightweight, with no dependency other than libc/windows-sys. (2/3)
https://crates.io/crates/prettytty
crates.io: Rust Package Registry