(self)
Delete character under the cursor.
Delete character under the cursor.
Delete character under the cursor .
def del_char(self):
        """Delete character under the cursor.

        """
        line = list(self.text[self.buffer_idx_y])
        if line and self.cur_pos_x < len(line):
            del line[self.buffer_idx_x]
        self.text[self.buffer_idx_y] = "".join(line)
def del_char ( self ) : line = list ( self . text [ self . buffer_idx_y ] ) if line and self . cur_pos_x < len ( line ) : del line [ self . buffer_idx_x ] self . text [ self . buffer_idx_y ] = "" . join ( line )