Skip to main content

ereset

Function ereset 

Source
pub fn ereset() -> String
Expand description

Returns the ANSI reset escape sequence for stderr, or an empty string if colors are disabled.

This is useful when manually constructing styled output and need to reset formatting.