xieite::term::clear_screen_until()

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

Clears everything on the screen until the cursor's position.


Declaration

void clear_screen_until() noexcept;


Example

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

world!