xieite ::term ::mv_cursor ()
Defined in header <xieite/io/term.hpp>
Moves the cursor by some offset.
Declaration
#0void mv_cursor (xieite ::ssize_t row ,xieite ::ssize_t col )noexcept ;
#1
void mv_cursor (xieite ::pos diff )noexcept ;
Example
Possible output:int main () {xieite ::term term ;for (char c :std ::string_view ("Hello, world!" )) {std ::putchar (c );term .mv_cursor (1 ,0 ); } }
H e l l o , w o r l d !