Versions in this module Expand all Collapse all v0 v0.0.2-alpha Aug 9, 2020 v0.0.1 Aug 9, 2020 Changes in this version + const TermWidthL + const TermWidthM + const TermWidthXL + 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 + 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 + type TerminalSize struct + Height uint16 + Width uint16 + func GetSize(fd uintptr) *TerminalSize + type TerminalSizeQueue interface + Next func() *TerminalSize