xieite ::term ::clear_line_code ()
Defined in header <xieite/io/term.hpp>
Returns a string which clears the line on which the cursor is when printed.
Declaration
[[nodiscard ]]static constexpr std ::string clear_line_code ()noexcept ;
Example
Possible output:int main () {std ::println ("Hello, ,{} world!"xieite ::term ::clear_line_code ()); }
world!