xieite::term::reset_screen()

Defined in header <xieite/io/term.hpp>

Resets cursor invisibility and disables the alternative screen and the alternative cursor. Automatically called on destruction.


Declaration

void reset_screen() noexcept;


Example

int main() {
	xieite::term term;
	term.screen_alt(true);
	std::print("Hello, ");
	term.reset_screen();
	std::puts("world!");
}
Possible output:
       world!