Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LocalTerminal ¶
type LocalTerminal struct {
// contains filtered or unexported fields
}
func NewLocalTerminal ¶
func NewLocalTerminal() *LocalTerminal
func (*LocalTerminal) ColorsEnabled ¶
func (fe *LocalTerminal) ColorsEnabled(colorFlag string) (bool, error)
func (*LocalTerminal) OutputIsTerminal ¶
func (f *LocalTerminal) OutputIsTerminal(stdout *os.File) bool
check if standard output is connected to a terminal
func (*LocalTerminal) TermWidth ¶
func (*LocalTerminal) TermWidth() (int, error)
Click to show internal directories.
Click to hide internal directories.