xieite::term::clear_screen()

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

Clears the entire screen.


Declaration

void clear_screen() noexcept;


Example

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

world!