func charm.land/lipgloss/v2.Width
10 uses
charm.land/lipgloss/v2 (current package)
layer.go#L137: width, height := Width(l.content), Height(l.content)
layer.go#L249: width, height := Width(layer.content), Height(layer.content)
size.go#L15: func Width(str string) (width int) {
size.go#L37: width = Width(str)
charm.land/lipgloss/v2/table
resizing.go#L166: cellLen := lipgloss.Width(cell)
resizing.go#L187: widths[i] = lipgloss.Width(row[j])
charm.land/lipgloss/v2/tree
renderer.go#L63: if pad := r.width - lipgloss.Width(line); pad > 0 {
renderer.go#L81: maxLen = max(lipgloss.Width(prefix), maxLen)
renderer.go#L101: if l := maxLen - lipgloss.Width(nodePrefix); l > 0 {
renderer.go#L134: if pad := r.width - lipgloss.Width(line); pad > 0 {
The pages are generated with Golds v0.8.7. (GOOS=linux GOARCH=amd64)