code: def erase_line (self): # <ESC>[2K
          '''Erases the entire current line.'''
  
          self.fill_region (self.cur_r, 1, self.cur_r, self.colsf erase_line (self): # <ESC>[2K
          '''Erases the entire current line.'''
  
          self.fill_region (self.cur_r, 1, self.cur_r, self.cols)
docs: Erases the entire current line.