• Jeremy Schlatter's avatar
    cmd: fix progress bar flickering · faf67db0
    Jeremy Schlatter authored
    Previous code cleared the display before writing new content, creating a
    window where the terminal could (and in some cases did) render empty lines.
    
    Instead, we now write new content over the old content, only clearing
    the trailing end of lines for cases where the new line is shorter.
    
    Fixes #1664
    faf67db0
progress.go 1.63 KB