code: def write_err(self, text):
          
          stderr = self.stderr
          if self.stderr.closed:
              stderr = sys.stderr
          stderr.write(decode_output(u"\r", target_stream=stderr))
          stderr.write(decode_output(CLEAR_LINE, target_stream=stderr))
          if text is None:
              text = ""
          text = decode_output(u"{0}\n".format(text), target_stream=stderr)
          self.stderr.write(text)
          self.out_buff.write(decode_output(text, target_stream=self.out_buff))
docs: Write error text in the terminal without breaking the spinner.