xieite ::term ::screen_alt ()
Defined in header <xieite/io/term.hpp>
Enables or disables the alternative screen buffer.
Declaration
void screen_alt (bool x )noexcept ;
Example
Possible output:int main () {xieite ::term term ;term .screen_alt (true );std ::"Hello, " );term .screen_alt (false );std ::puts ("world!" ); }
world!