From 350d5e99d90e0fd07c152d906f0b1b61c1e20f36 Mon Sep 17 00:00:00 2001 From: Randall Winkhart Date: Fri, 3 Nov 2023 12:34:47 -0400 Subject: [PATCH] Rename WithCustomFillCharacters to WithFillCharacters --- progress/progress.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/progress/progress.go b/progress/progress.go index 3ebdd1d..d5a4c5a 100644 --- a/progress/progress.go +++ b/progress/progress.go @@ -79,8 +79,8 @@ func WithSolidFill(color string) Option { } } -// WithCustomFillCharacters sets the characters used to construct the full and empty components of the progress bar. -func WithCustomFillCharacters(full rune, empty rune) Option { +// WithFillCharacters sets the characters used to construct the full and empty components of the progress bar. +func WithFillCharacters(full rune, empty rune) Option { return func(m *Model) { m.Full = full m.Empty = empty