pub fn write_styled<W>( writer: &mut W, text: &str, style: &str, ) -> Result<(), Error>where W: Write,