xieite ::term ::clear_screen_from_code ()
Defined in header <xieite/io/term.hpp>
Returns a string which clears the screen starting from the cursor's position when printed.
Declaration
[[nodiscard ]]static constexpr std ::string clear_screen_from_code ()noexcept ;
Example
Possible output:int main () {std ::println ("Hello, ,\n world!\r{} "xieite ::term ::clear_screen_from_code ()); }
Hello,