xieite::term::cursor_underscore_code()

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

Returns a string which makes the cursor appear as an underscore when printed.


Declaration

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


Example

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