xieite ::term ::clear_line_from_code ()
Defined in header <xieite/io/term.hpp>
Returns a string which clears text from the cursor's position until the end of the same line when printed.
Declaration
[[nodiscard ]]static constexpr std ::string clear_line_from_code ()noexcept ;
Example
Possible output:int main () {std ::println ("0123456789 ,\r{} test"xieite ::term ::clear_line_from_code ()); }
test