[−][src]Function bear_lib_terminal::terminal::with_foreground
pub fn with_foreground<F: FnOnce()>(color: Color, callback: F)
Sets the foreground color before calling the function and resets it afterwards.
pub fn with_foreground<F: FnOnce()>(color: Color, callback: F)
Sets the foreground color before calling the function and resets it afterwards.