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