terminal

package
v0.0.0-...-73d3f13 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 25, 2018 License: MIT Imports: 2 Imported by: 0

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

func IsTerminal(fd int) bool

IsTerminal returns true if the given file descriptor is a terminal.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL