Fix: Disable stdout progress in TUI mode to prevent display breaking

This commit is contained in:
2025-11-07 10:50:45 +00:00
parent 828c4d6a47
commit 894a334cb5
2 changed files with 17 additions and 2 deletions

View File

@@ -103,8 +103,8 @@ func executeRestoreWithTUIProgress(cfg *config.Config, log logger.Logger, archiv
}
defer dbClient.Close()
// Create restore engine
engine := restore.New(cfg, log, dbClient)
// Create restore engine with silent progress (no stdout interference with TUI)
engine := restore.NewSilent(cfg, log, dbClient)
// Execute restore based on type
var restoreErr error