(self)
Delete from cursor to beginning of current line. (C-u)
Delete from cursor to beginning of current line. (C-u)
Delete from cursor to beginning of current line . ( C - u )
def del_to_bol(self):
        """Delete from cursor to beginning of current line. (C-u)

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