backspace method

void backspace()

Implementation

void backspace() {
  if (_cursor > 0) {
    _chars.removeAt(--_cursor);
  }
}