Documentation
¶
Index ¶
- Constants
- Variables
- func CursorDown(n int)
- func CursorLeft(n int)
- func CursorRight(n int)
- func CursorToHome()
- func CursorUp(n int)
- func DisableAltBuffer()
- func EnableAltBuffer()
- func HideCursor()
- func IsTerminal() bool
- func MakeRaw() error
- func SetState(state *State) error
- func ShowCursor()
- func Size() (width, height int, err error)
- type State
Constants ¶
View Source
const (
CSI = "\u001b["
)
Variables ¶
View Source
var StdinFd = int(os.Stdin.Fd())
Functions ¶
func CursorDown ¶
func CursorDown(n int)
func CursorLeft ¶
func CursorLeft(n int)
func CursorRight ¶
func CursorRight(n int)
func CursorToHome ¶
func CursorToHome()
func DisableAltBuffer ¶
func DisableAltBuffer()
func EnableAltBuffer ¶
func EnableAltBuffer()
func HideCursor ¶
func HideCursor()
func IsTerminal ¶
func IsTerminal() bool
func ShowCursor ¶
func ShowCursor()
Types ¶
Click to show internal directories.
Click to hide internal directories.