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