mirror of
https://github.com/charmbracelet/gum
synced 2024-05-06 00:13:17 +02:00
fix(docs): correct LipglossPadding doc comment
This commit is contained in:
parent
b23ebce896
commit
6e802805cf
|
@ -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, " ")
|
||||
|
|
Loading…
Reference in a new issue