def METHOD_NAME(self) -> None:
    if not self.current_input:
        self.cursor_pos = 0
        return
    max_pos = wcswidth(self.current_input)
    if self.cursor_pos >= max_pos:
        self.cursor_pos = max_pos
        return
    before, after = self.split_at_cursor(1)
    self.cursor_pos += 1 + int(wcswidth(before) == self.cursor_pos)