term

package
v0.0.0-...-27d5cd9 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsFancy

func IsFancy(w io.Writer) bool

IsFancy returns true if the given writer is a real terminal, or the color is forced by the environment variables.

func IsReaderTerminal

func IsReaderTerminal(r io.Reader) bool

IsReaderTerminal returns true if the given reader is a real terminal.

func IsWriterTerminal

func IsWriterTerminal(w io.Writer) bool

IsWriterTerminal returns true if the given writer is a real terminal.

Types

This section is empty.

Jump to

Keyboard shortcuts

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