detect/
detect.rs

1use std::io::stdout;
2
3use termprofile::{DetectorSettings, TermProfile};
4
5fn main() {
6    let profile = TermProfile::detect(&stdout(), DetectorSettings::with_query().unwrap());
7    println!("Detected profile: {profile:?}");
8}