From 6e802805cf5bebdd2f43aacb9ba30ba9ecfb05ca Mon Sep 17 00:00:00 2001 From: Christian Rocha Date: Thu, 18 May 2023 12:20:41 -0400 Subject: [PATCH] fix(docs): correct LipglossPadding doc comment --- internal/utils/utils.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/utils/utils.go b/internal/utils/utils.go index 186988c..0e38598 100644 --- a/internal/utils/utils.go +++ b/internal/utils/utils.go @@ -6,7 +6,7 @@ import ( "github.com/charmbracelet/lipgloss" ) -// LipglossLengthPadding calculated calculates how much padding a string is given by a style. +// LipglossPadding calculates how much padding a string is given by a style. func LipglossPadding(style lipgloss.Style) (int, int) { render := style.Render(" ") before := strings.Index(render, " ")