Versions in this module Expand all Collapse all v0 v0.24.0 Mar 25, 2022 Changes in this version + func AllowsColorOutput(w io.Writer) bool + func GetSize(fd uintptr) *remotecommand.TerminalSize + 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 ...*remotecommand.TerminalSize) remotecommand.TerminalSizeQueue + func (t TTY) GetSize() *remotecommand.TerminalSize + func (t TTY) IsTerminalIn() bool + func (t TTY) IsTerminalOut() bool + func (t TTY) Safe(fn SafeFunc) error