(self)
Delete from cursor to end of current line. (C-k)
Delete from cursor to end of current line. (C-k)
Delete from cursor to end of current line . ( C - k )
def del_to_eol(self):
        """Delete from cursor to end of current line. (C-k)

        """
        line = list(self.text[self.buffer_idx_y])
        line = line[:self.cur_pos_x]
        self.text[self.buffer_idx_y] = "".join(line)
def del_to_eol ( self ) : line = list ( self . text [ self . buffer_idx_y ] ) line = line [ : self . cur_pos_x ] self . text [ self . buffer_idx_y ] = "" . join ( line )