pub fn clear_screen()Expand description
The page is erased and the cursor position is set to the first line and the first column.
- The ANSI/ECMA printed function is :
ED(2),CUP(1,1) - The ANSI/ECMA printed sequence is :
\x1b[2J\x1b[1;1H
pub fn clear_screen()The page is erased and the cursor position is set to the first line and the first column.
ED(2),CUP(1,1)\x1b[2J\x1b[1;1H