code: def _delete_character(self, count=1):
          
  
          # First resize the text display
          row = self.display[self.y]
          count = min(count, self.size[1] - self.x)
          row = row[:self.x] + row[self.x+count:] + u" " * count
          self.display[self.y] = row
  
          # Then resize the attribute array too
          attrs = self.attributes[self.y]
          attrs = attrs[:self.x] + attrs[self.x+count:] + [self.default_attributes] * count
          self.attributes[self.y] = attrs
docs: Deletes count characters, starting with the character at cursor
          position. When a character is deleted, all characters to the right 
          of cursor move left.