Documentation ¶
Overview ¶
Package terminal provides platform specific terminal detection functions. It is part of the Logberry logging framework, used by some of the output drivers for tasks such as determining whether or not to use terminal colors. Its interface consists entirely of a single function, IsTerminal(fd), which returns true if the file descriptor fd is a terminal.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsTerminal ¶
IsTerminal returns true if the given file descriptor is a terminal.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.