tea/vendor/github.com/AlecAivazis/survey/v2/terminal/display_posix.go

12 lines
148 B
Go

// +build !windows
package terminal
import (
"fmt"
)
func EraseLine(out FileWriter, mode EraseLineMode) {
fmt.Fprintf(out, "\x1b[%dK", mode)
}