//! `colorant reset` — emit OSC sequences resetting fg, bg, cursor, and the
//! 16-color palette to terminal defaults. Also resets the tab color on
//! terminals that support one (iTerm2 today).
usecrate::terminal::{osc, utils};useanyhow::Result;usestd::io::stdout;pubfnrun()->Result<()>{letSome(terminal)=utils::detect()else{returnOk(());};letmut out =stdout().lock();osc::emit_reset(&mut out, terminal)?;Ok(())}