vt

package
v0.1.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 23, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Clear

func Clear(w ...io.Writer)

清屏

func ClearLine

func ClearLine(w ...io.Writer)

清除从光标到行尾的内容

func DownN

func DownN(n int, w ...io.Writer)

光标下移 n 行

func LeftN

func LeftN(n int, w ...io.Writer)

光标左移 n 行

func Print

func Print(buf *buf.Buf)

func Recover

func Recover(w ...io.Writer)

恢复光标位置

func RightN

func RightN(n int, w ...io.Writer)

光标右移 n 行

func Save

func Save(w ...io.Writer)

保存光标位置

func ToXY

func ToXY(x, y int, w ...io.Writer)

设置光标位置

func TopN

func TopN(n int, w ...io.Writer)

光标上移 n 行

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL