mirror of
https://gitea.com/gitea/tea.git
synced 2024-11-03 04:27:21 -05:00
12 lines
148 B
Go
12 lines
148 B
Go
|
// +build !windows
|
||
|
|
||
|
package terminal
|
||
|
|
||
|
import (
|
||
|
"fmt"
|
||
|
)
|
||
|
|
||
|
func EraseLine(out FileWriter, mode EraseLineMode) {
|
||
|
fmt.Fprintf(out, "\x1b[%dK", mode)
|
||
|
}
|