2
2
mirror of https://github.com/octoleo/restic.git synced 2024-11-22 21:05:10 +00:00
restic/internal/ui/backup
Michael Eischer 9354262b1b backup: fix stuck status bar
The status bar got stuck once the first error was reported, the scanner
completed or some file was backed up. Either case sets a flag that the
scanner has started.

This flag is used to hide the progress bar until the flag is set. Due to
an inverted condition, the opposite happened and the status stopped
refreshing once the flag was set.

In addition, the scannerStarted flag was not set when the scanner just
reported progress information.
2022-11-02 21:31:13 +01:00
..
json.go archiver: remove unused fileInfo from progress callback 2022-07-23 14:16:23 +02:00
progress_test.go ui/backup: Replace channels with a mutex 2022-10-23 13:28:41 +02:00
progress.go backup: fix stuck status bar 2022-11-02 21:31:13 +01:00
text.go cmd, ui: Deduplicate formatting utilities 2022-10-23 13:40:07 +02:00