Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetSize ¶
GetSize returns the visible dimensions of the given terminal.
These dimensions don't include any scrollback buffer height.
func GetSizeBy ¶
GetSizeBy returns the visible dimensions of the given terminal.
These dimensions don't include any scrollback buffer height.
func IsTerminal ¶
func IsTerminal() bool
IsTerminal returns whether the given file descriptor is a terminal.
func IsTerminalBy ¶
IsTerminalBy returns whether the given file descriptor is a terminal.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.