code: def clear(self):
          
          if not self._enabled:
              return self
  
          self._stream.write('\r')
          self._stream.write(self.CLEAR_LINE)
  
          return self
docs: Clears the line and returns cursor to the start.
          of line
          Returns
          -------
          self