package term

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

Index

Types

type Winsize

type Winsize struct {
	Height uint16
	Width  uint16
}

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.4.2
Published
Jul 21, 2019
Platform
darwin/amd64
Imports
1 packages
Last checked
53 minutes ago

Tools for package owners.