build: go 1.24
We were running behind and there were quite some deprecations to update. This was mostly in the upstream copy/pasta package but seems quite minimal.
This commit is contained in:
4
vendor/github.com/muesli/termenv/style.go
generated
vendored
4
vendor/github.com/muesli/termenv/style.go
generated
vendored
@ -4,7 +4,7 @@ import (
|
||||
"fmt"
|
||||
"strings"
|
||||
|
||||
"github.com/mattn/go-runewidth"
|
||||
"github.com/rivo/uniseg"
|
||||
)
|
||||
|
||||
// Sequence definitions.
|
||||
@ -122,5 +122,5 @@ func (t Style) CrossOut() Style {
|
||||
|
||||
// Width returns the width required to print all runes in Style.
|
||||
func (t Style) Width() int {
|
||||
return runewidth.StringWidth(t.string)
|
||||
return uniseg.StringWidth(t.string)
|
||||
}
|
||||
|
Reference in New Issue
Block a user