diff --git a/cmd/restic/progress.go b/cmd/restic/progress.go index 5a77bc6ee..4f33e2072 100644 --- a/cmd/restic/progress.go +++ b/cmd/restic/progress.go @@ -58,7 +58,10 @@ func printProgress(status string, canUpdateStatus bool) { if w < 3 { status = termstatus.Truncate(status, w) } else { - status = termstatus.Truncate(status, w-3) + "..." + trunc := termstatus.Truncate(status, w-3) + if len(trunc) < len(status) { + status = trunc + "..." + } } }