(self, width=None)
Clear the current row.
Clear the current row.
Clear the current row .
def clear_row(self, width=None):
        """Clear the current row."""
        if width is None:
            self._emit_ti('cr')
            self._emit_ti('el')
        else:
            self._emit_ti('sc')
            self._emit_ti('hpa', width-1)
            self._emit_ti('el1')
            self._emit_ti('rc')
def clear_row ( self , width = None ) : if width is None : self . _emit_ti ( 'cr' ) self . _emit_ti ( 'el' ) else : self . _emit_ti ( 'sc' ) self . _emit_ti ( 'hpa' , width - 1 ) self . _emit_ti ( 'el1' ) self . _emit_ti ( 'rc' )