xieite::term::set_cursor_code()

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

Returns a std::string which sets the cursor's absolute position when printed.


Declaration

#0
[[nodiscard]] static constexpr std::string set_cursor_code(xieite::ssize_t row, xieite::ssize_t col) noexcept;

#1
[[nodiscard]] static constexpr std::string set_cursor_code(xieite::pos pos) noexcept;