def clear(self):
        """Clears the line and returns cursor to the start.
        of line
        Returns
        -------
        self
        """
        self._write("\r")
        self._write(self.CLEAR_LINE)
        return self
Clears the line and returns cursor to the start.
        of line
        Returns
        -------
        self
        
halo/halo.py