Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TerminalHelper ¶
type TerminalHelper interface {
StdStreams() (stdin io.ReadCloser, stdout io.Writer, stderr io.Writer)
GetFdInfo(in interface{}) (fd uintptr, isTerminal bool)
SetRawTerminal(fd uintptr) (*term.State, error)
RestoreTerminal(fd uintptr, state *term.State) error
IsTerminal(fd uintptr) bool
GetWinsize(fd uintptr) (*term.Winsize, error)
}
func DefaultHelper ¶
func DefaultHelper() TerminalHelper
Directories
¶
Path | Synopsis |
---|---|
This file was generated by counterfeiter
|
This file was generated by counterfeiter |
Click to show internal directories.
Click to hide internal directories.