def METHOD_NAME(self, e):
    if e == "<SPACE>":
        e = " "
    if len(e) > 1:
        return
    self._current_line = (
        self._current_line[: self.cursor_offset_in_line]
        + e
        + self._current_line[self.cursor_offset_in_line :]
    )
    self.cursor_offset_in_line += 1