Remove the character before the cursor.

def bspace(self):
        '''
        Remove the character before the cursor.
        '''
        try:
            self.text.pop(self.cursor_loc - 1)
            self.cursor_loc -= 1
        except IndexError:
            pass