xieite ::term ::get_cursor ()
Defined in header <xieite/io/term.hpp>
Gets the cursor's position.
Declaration
[[nodiscard ]]xieite ::pos get_cursor ()noexcept ;
Example
Possible output:int main () {xieite ::term term ;auto [row ,col ] =term .get_cursor ();std ::println ("( ,{} ,{} )"row ,col ); }
(0, 0)