xieite ::term ::reset_style ()
Defined in header <xieite/io/term.hpp>
Resets text colors and effects. Automatically called on destruction.
Declaration
void reset_style ()noexcept ;
Example
Possible output:int main () {xieite ::term term ;term .fg (255 ,0 ,0 );term .italic (true );std ::"Hello, " );term .reset_style ();std ::puts ("world!" ); }
[View in Compiler Explorer]Hello, world!