clear method
void
clear()
Clears all text and resets cursor to start.
Implementation
void clear() {
_buffer.clear();
_cursorPosition = 0;
}
Clears all text and resets cursor to start.
void clear() {
_buffer.clear();
_cursorPosition = 0;
}