0
0
forked from toolshed/abra
2024-08-04 11:06:58 +02:00

14 lines
196 B
Go

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