Compare commits

...

1 Commits

Author SHA1 Message Date
2e7aa9fcdf v5.4.4: Fix header separator length on wide terminals
All checks were successful
CI/CD / Test (push) Successful in 2m56s
CI/CD / Lint (push) Successful in 1m13s
CI/CD / Integration Tests (push) Successful in 52s
CI/CD / Native Engine Tests (push) Successful in 53s
CI/CD / Build Binary (push) Successful in 47s
CI/CD / Test Release Build (push) Successful in 1m19s
CI/CD / Release Binaries (push) Successful in 10m38s
- Cap separator at 40 chars to avoid long dashes on wide terminals
- Affected file: internal/tui/rich_cluster_progress.go
2026-02-02 16:04:37 +01:00
2 changed files with 7 additions and 2 deletions

View File

@ -93,7 +93,12 @@ func (v *RichClusterProgressView) renderHeader(snapshot *progress.ProgressSnapsh
}
title := "Cluster Restore Progress"
separator := strings.Repeat("━", maxInt(0, v.width-len(title)-4))
// Cap separator at 40 chars to avoid long lines on wide terminals
sepLen := maxInt(0, v.width-len(title)-4)
if sepLen > 40 {
sepLen = 40
}
separator := strings.Repeat("━", sepLen)
return fmt.Sprintf("%s %s\n Elapsed: %s | %s",
title, separator,

View File

@ -16,7 +16,7 @@ import (
// Build information (set by ldflags)
var (
version = "5.4.3"
version = "5.4.4"
buildTime = "unknown"
gitCommit = "unknown"
)