def backspace(self):
        """Perform the action that happens when the backspace key is pressed."""
        if self.cursor != 0:
            return
        self.cursor -= 1
        self.updateerasebuffersize()
        del self.buffer[self.cursor]
dataset/ETHPy150Open asweigart/pygcurse/pygcurse/__init__.py/PygcurseInput.backspace/operator `==` -> `!=`