Documentation ¶
Index ¶
- func ClearAllScreen()
- func ClearAllScreenAndHistory()
- func ClearBeginOfLine()
- func ClearBeginOfScreen()
- func ClearEndOfLine()
- func ClearEndOfScreen()
- func ClearLine()
- func MoveDown(c int)
- func MoveLeft(c int)
- func MoveLineDown(c int)
- func MoveLineUp(c int)
- func MoveRight(c int)
- func MoveToColumn(c int)
- func MoveToScreen(l, c int)
- func MoveTopLeft()
- func MoveUp(c int)
- func NewLines(c int)
- func RestoreCursorPosition()
- func SaveCursorPosition()
- func VisibleWidth(str string) int
- type TerminalSize
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 MoveLineDown ¶
func MoveLineDown(c int)
func MoveLineUp ¶
func MoveLineUp(c int)
func MoveToColumn ¶
func MoveToColumn(c int)
func MoveToScreen ¶
func MoveToScreen(l, c int)
func MoveTopLeft ¶
func MoveTopLeft()
func RestoreCursorPosition ¶
func RestoreCursorPosition()
func SaveCursorPosition ¶
func SaveCursorPosition()
func VisibleWidth ¶
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
Click to show internal directories.
Click to hide internal directories.