Bug#901758: diffoscope: leaves progress bar on terminal after completion

Chris Lamb lamby at debian.org
Sat Jul 7 07:45:06 BST 2018


tags 901758 - pending
thanks

> > +                self.fd.write("\033[K")
> 
> This isn't going to work if the terminal being used doesn't support
> that escape sequence

I wasn't aware that was a possibility.

> or if the user requested a progress bar but directed output to
> a file

If you mean via --text=filename then the progress bar does not
appear there.

> I'd suggest the approach I mentioned in the initial bug report
> instead

In that case, please could you provide a merge request? Reverted my
change in:

  https://salsa.debian.org/reproducible-builds/diffoscope/commit/9c0cfdf5a59808b6698eee99600b46cada3c762d


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-



More information about the Reproducible-builds mailing list