win

package
v0.0.0-...-88d0029 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2016 License: MIT Imports: 2 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetWinsize

func SetWinsize(fd uintptr, ws *Winsize) error

SetWinsize sets the size of the given tty.

Types

type Winsize

type Winsize struct {
	Height uint16
	Width  uint16
	// contains filtered or unexported fields
}

Winsize stores the Heighty and Width of a terminal.

func GetWinsize

func GetWinsize(fd uintptr) (*Winsize, error)

GetWinsize returns the size of the given tty.

Jump to

Keyboard shortcuts

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