mirror of
https://github.com/restic/restic.git
synced 2026-11-10 00:38:40 +00:00
ui: move NewProgressPrinter to ui/progress.NewTerminalPrinter
This commit is contained in:
1 parent
c04f3e9d6c
commit
e8ed2434cd
45 files changed
+97
-78
No files matched your search
@@ -25,7 +25,7 @@ var _ ProgressPrinter = &textProgress{}
|
||||
// NewTextProgress returns a new backup progress reporter.
|
||||
func NewTextProgress(term ui.Terminal, verbosity uint) ProgressPrinter {
|
||||
return &textProgress{
|
||||
Printer: ui.NewProgressPrinter(false, verbosity, term),
|
||||
Printer: progress.NewTerminalPrinter(false, verbosity, term),
|
||||
term: term,
|
||||
verbosity: verbosity,
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user