xieite::term::cursor_block_code()

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

Returns a string which makes the cursor appear as a block shape when printed.


Declaration

[[nodiscard]] static constexpr std::string cursor_block_code(bool blink = false) noexcept;


Example

int main() {
	std::puts(xieite::term::cursor_block_code().c_str());
}