xieite ::term ::cursor_alt_code ()
Defined in header <xieite/io/term.hpp>
Returns a string which enables or disables the alternative cursor when printed.
Declaration
[[nodiscard ]]static constexpr std ::string cursor_alt_code (bool x )noexcept ;
Example
Possible output:int main () {std ::println (" ,{}\n Hello{} world!"xieite ::term ::cursor_alt_code (true ),xieite ::term ::cursor_alt_code (false )); }
world! Hello,