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 e002d3f8f9
commit 07ab4109ec
4 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