blob: 48d873c3f855e698dbf78ba82fb04af7b392f886 (
plain)
1
2
3
4
5
6
7
8
9
10
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)
}
|