(self, row, col, attr)
Clear from given position to end of row.
Clear from given position to end of row.
Clear from given position to end of row .
def clear_row_from(self, row, col, attr):
        """Clear from given position to end of row."""
        if col == 1:
            self.clear_rows(row, row, attr)
        else:
            # clear the first row of the logical line
            self._clear_text_area(
                row, col, row, self._width, attr, adjust_end=True, clear_wrap=True
            )
            # submit changes
            self._update(row, 1, self._width)
def clear_row_from ( self , row , col , attr ) : if col == 1 : self . clear_rows ( row , row , attr ) else : # clear the first row of the logical line self . _clear_text_area ( row , col , row , self . _width , attr , adjust_end = True , clear_wrap = True ) # submit changes self . _update ( row , 1 , self . _width )