output

package
v1.4.4 Latest Latest
Warning

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

Go to latest
Published: Jan 1, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ClearAllScreen

func ClearAllScreen()

func ClearAllScreenAndHistory

func ClearAllScreenAndHistory()

func ClearBeginOfLine

func ClearBeginOfLine()

func ClearBeginOfScreen

func ClearBeginOfScreen()

func ClearEndOfLine

func ClearEndOfLine()

func ClearEndOfScreen

func ClearEndOfScreen()

func ClearLine

func ClearLine()

func MoveDown

func MoveDown(c int)

func MoveLeft

func MoveLeft(c int)

func MoveLineDown

func MoveLineDown(c int)

func MoveLineUp

func MoveLineUp(c int)

func MoveRight

func MoveRight(c int)

func MoveToColumn

func MoveToColumn(c int)

func MoveToScreen

func MoveToScreen(l, c int)

func MoveTopLeft

func MoveTopLeft()

func MoveUp

func MoveUp(c int)

func NewLines

func NewLines(c int)

func RestoreCursorPosition

func RestoreCursorPosition()

func SaveCursorPosition

func SaveCursorPosition()

func VisibleWidth

func VisibleWidth(str string) int

Types

type TerminalSize

type TerminalSize struct {
	// contains filtered or unexported fields
}

func GetTerminalSize

func GetTerminalSize() (ts TerminalSize, ok bool)

func (TerminalSize) Height

func (ts TerminalSize) Height() int

func (TerminalSize) Width

func (ts TerminalSize) Width() int

Jump to

Keyboard shortcuts

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