eraseLine method
void
eraseLine()
Erases the line at the current cursor position.
Implementation
void eraseLine() {
currentLine.isWrapped = false;
currentLine.eraseRange(0, viewWidth, terminal.cursor);
}
Erases the line at the current cursor position.
void eraseLine() {
currentLine.isWrapped = false;
currentLine.eraseRange(0, viewWidth, terminal.cursor);
}