Function clear_line

Source
pub fn clear_line()
Expand description

Clears the current line in the console.

This function uses ANSI escape codes to clear the entire line and move the cursor to the beginning of the line.