From 50b0bb0f3b53c58f1bcf6cb50671882f0b4b6e73 Mon Sep 17 00:00:00 2001 From: Carlos Alexandro Becker Date: Tue, 14 May 2024 22:21:14 -0300 Subject: [PATCH] docs: fix typo Signed-off-by: Carlos Alexandro Becker --- progress/progress.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/progress/progress.go b/progress/progress.go index d5a4c5a..8728de9 100644 --- a/progress/progress.go +++ b/progress/progress.go @@ -309,7 +309,7 @@ func (m Model) barView(b *strings.Builder, percent float64, textWidth int) { 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 - // or exactly 50% inbetween? I opted for 50% + // or exactly 50% in between? I opted for 50% p = 0.5 } else if m.scaleRamp { p = float64(i) / float64(fw-1)