eraseLineToCursor method

void eraseLineToCursor()

Implementation

void eraseLineToCursor() {
  currentLine.isWrapped = false;
  currentLine.erase(_terminal.cursor, 0, _cursorX);
}