Describe the bug
The latest x/ansi package (0.11.3) breaks compatibility with v2.0.0-beta.3.
Setup
go 1.25.1
require (
github.com/charmbracelet/lipgloss/v2 v2.0.0-beta.3
github.com/charmbracelet/x/ansi v0.11.3
)
To Reproduce
go build .
Additional context
# github.com/charmbracelet/lipgloss/v2
../../../.go/pkg/mod/github.com/charmbracelet/lipgloss/v2@v2.0.0-beta.3/style.go:297:8: not enough arguments in call to te.Italic
have ()
want (bool)
../../../.go/pkg/mod/github.com/charmbracelet/lipgloss/v2@v2.0.0-beta.3/style.go:300:8: not enough arguments in call to te.Underline
have ()
want (bool)
../../../.go/pkg/mod/github.com/charmbracelet/lipgloss/v2@v2.0.0-beta.3/style.go:303:18: not enough arguments in call to teWhitespace.Reverse
have ()
want (bool)
../../../.go/pkg/mod/github.com/charmbracelet/lipgloss/v2@v2.0.0-beta.3/style.go:304:8: not enough arguments in call to te.Reverse
have ()
want (bool)
../../../.go/pkg/mod/github.com/charmbracelet/lipgloss/v2@v2.0.0-beta.3/style.go:307:11: te.SlowBlink undefined (type ansi.Style has no field or method SlowBlink)
../../../.go/pkg/mod/github.com/charmbracelet/lipgloss/v2@v2.0.0-beta.3/style.go:334:8: not enough arguments in call to te.Underline
have ()
want (bool)
../../../.go/pkg/mod/github.com/charmbracelet/lipgloss/v2@v2.0.0-beta.3/style.go:337:8: not enough arguments in call to te.Strikethrough
have ()
want (bool)
../../../.go/pkg/mod/github.com/charmbracelet/lipgloss/v2@v2.0.0-beta.3/style.go:341:13: not enough arguments in call to teSpace.Underline
have ()
want (bool)
../../../.go/pkg/mod/github.com/charmbracelet/lipgloss/v2@v2.0.0-beta.3/style.go:344:13: not enough arguments in call to teSpace.Strikethrough
have ()
want (bool)
Describe the bug
The latest x/ansi package (0.11.3) breaks compatibility with v2.0.0-beta.3.
Setup
To Reproduce
go build .Additional context