1package ansi
2
3import "io"
4
5// Execute is a function that "execute" the given escape sequence by writing it
6// to the provided output writter.
7//
8// This is a syntactic sugar over [io.WriteString].
9func Execute(w io.Writer, s string) (int, error) {
10 return io.WriteString(w, s)
11}