chore: make deps, go mod vendor
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
10
vendor/github.com/charmbracelet/lipgloss/style.go
generated
vendored
10
vendor/github.com/charmbracelet/lipgloss/style.go
generated
vendored
@ -307,9 +307,7 @@ func (s Style) Render(strs ...string) string {
|
||||
te = te.Underline()
|
||||
}
|
||||
if reverse {
|
||||
if reverse {
|
||||
teWhitespace = teWhitespace.Reverse()
|
||||
}
|
||||
teWhitespace = teWhitespace.Reverse()
|
||||
te = te.Reverse()
|
||||
}
|
||||
if blink {
|
||||
@ -355,6 +353,8 @@ func (s Style) Render(strs ...string) string {
|
||||
|
||||
// Potentially convert tabs to spaces
|
||||
str = s.maybeConvertTabs(str)
|
||||
// carriage returns can cause strange behaviour when rendering.
|
||||
str = strings.ReplaceAll(str, "\r\n", "\n")
|
||||
|
||||
// Strip newlines in single line mode
|
||||
if inline {
|
||||
@ -564,14 +564,14 @@ func pad(str string, n int, style *termenv.Style) string {
|
||||
return b.String()
|
||||
}
|
||||
|
||||
func max(a, b int) int { //nolint:unparam
|
||||
func max(a, b int) int { //nolint:unparam,predeclared
|
||||
if a > b {
|
||||
return a
|
||||
}
|
||||
return b
|
||||
}
|
||||
|
||||
func min(a, b int) int {
|
||||
func min(a, b int) int { //nolint:predeclared
|
||||
if a < b {
|
||||
return a
|
||||
}
|
||||
|
Reference in New Issue
Block a user