xieite::term::cursor_alt()

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

Enables or disables the alternative cursor.


Declaration

void cursor_alt(bool x) noexcept;


Example

int main() {
	xieite::term term;
	term.cursor_alt(true);
	std::puts("\nHello,");
	term.cursor_alt(false);
	std::puts("world!");
}
Possible output:
world!
Hello,