package term

import "github.com/fsouza/go-dockerclient/internal/term"

Index

Types

type Winsize

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

Winsize represents the size of the terminal window.

func GetWinsize

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

GetWinsize returns the window size based on the specified file descriptor.

Source Files

term.go winsize.go

Version
v1.3.2
Published
Jan 5, 2019
Platform
js/wasm
Imports
1 packages
Last checked
1 hour ago

Tools for package owners.