feat: initial commit
This commit is contained in:
commit
a161b86c9a
705 changed files with 288162 additions and 0 deletions
11
vendor/github.com/charmbracelet/x/ansi/ansi.go
generated
vendored
Normal file
11
vendor/github.com/charmbracelet/x/ansi/ansi.go
generated
vendored
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
package ansi
|
||||
|
||||
import "io"
|
||||
|
||||
// Execute is a function that "execute" the given escape sequence by writing it
|
||||
// to the provided output writter.
|
||||
//
|
||||
// This is a syntactic sugar over [io.WriteString].
|
||||
func Execute(w io.Writer, s string) (int, error) {
|
||||
return io.WriteString(w, s) //nolint:wrapcheck
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue