Versions in this module Expand all Collapse all v1 v1.0.0 Dec 3, 2017 Changes in this version + func IsTerminal(i interface{}) bool + func NewMaxWidthWriter(w io.Writer, maxWidth uint) io.Writer + func NewPunchCardWriter(w io.Writer) io.Writer + func NewResponsiveWriter(w io.Writer) io.Writer + func NewWordWrapWriter(w io.Writer, limit uint) io.Writer + func SetSize(fd uintptr, size TerminalSize) error + type SafeFunc func() error + type TTY struct + In io.Reader + Out io.Writer + Parent *interrupt.Handler + Raw bool + TryDev bool + func (t *TTY) MonitorSize(initialSizes ...*TerminalSize) TerminalSizeQueue + func (t TTY) GetSize() *TerminalSize + func (t TTY) IsTerminalIn() bool + func (t TTY) IsTerminalOut() bool + func (t TTY) Safe(fn SafeFunc) error + type TerminalSize struct + Height uint16 + Width uint16 + func GetSize(fd uintptr) *TerminalSize + type TerminalSizeQueue interface + Next func() *TerminalSize