chore: run modernize

This commit is contained in:
Andrey Nering
2025-05-30 17:20:01 -03:00
parent b3f0c9e423
commit 04ec518a95
6 changed files with 11 additions and 10 deletions
+1 -1
View File
@@ -295,7 +295,7 @@ func (m Model) barView(b *strings.Builder, percent float64, textWidth int) {
if m.useRamp {
// Gradient fill
for i := 0; i < fw; i++ {
for i := range fw {
if fw == 1 {
// this is up for debate: in a gradient of width=1, should the
// single character rendered be the first color, the last color