mirror of
https://github.com/cwinfo/matterbridge.git
synced 2025-07-03 04:57:44 +00:00
Update vendor for next release (#1343)
This commit is contained in:
4
vendor/github.com/mattn/go-colorable/colorable_windows.go
generated
vendored
4
vendor/github.com/mattn/go-colorable/colorable_windows.go
generated
vendored
@ -719,7 +719,7 @@ loop:
|
||||
n256setup()
|
||||
}
|
||||
attr &= backgroundMask
|
||||
attr |= n256foreAttr[n256]
|
||||
attr |= n256foreAttr[n256%len(n256foreAttr)]
|
||||
i += 2
|
||||
}
|
||||
} else if len(token) == 5 && token[i+1] == "2" {
|
||||
@ -761,7 +761,7 @@ loop:
|
||||
n256setup()
|
||||
}
|
||||
attr &= foregroundMask
|
||||
attr |= n256backAttr[n256]
|
||||
attr |= n256backAttr[n256%len(n256backAttr)]
|
||||
i += 2
|
||||
}
|
||||
} else if len(token) == 5 && token[i+1] == "2" {
|
||||
|
4
vendor/github.com/mattn/godown/godown.go
generated
vendored
4
vendor/github.com/mattn/godown/godown.go
generated
vendored
@ -303,10 +303,10 @@ func walk(node *html.Node, w io.Writer, nest int, option *Option) {
|
||||
walk(c, &buf, 1, option)
|
||||
if lines := strings.Split(strings.TrimSpace(buf.String()), "\n"); len(lines) > 0 {
|
||||
for i, l := range lines {
|
||||
if i > 0 || nest > 0 {
|
||||
if i > 0 {
|
||||
fmt.Fprint(w, "\n")
|
||||
}
|
||||
fmt.Fprint(w, strings.Repeat(" ", nest)+strings.TrimSpace(l))
|
||||
fmt.Fprint(w, strings.Repeat(" ", nest)+l)
|
||||
}
|
||||
fmt.Fprint(w, "\n")
|
||||
}
|
||||
|
Reference in New Issue
Block a user