Function ansi_control::clear_line
[−]
[src]
pub fn clear_line(pos: Pos) -> String
Clears part of line. If pos is Pos::Back, clear from cursor to the end of the line. If pos is Pos::Front, clear from cursor to beginning of the line. If pos is Pos::Both, clear entire line.