terminal

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Colours

func Colours() bool

Colours returns true if the color mode is enabled

func ForceColours

func ForceColours(v bool)

ForceColours forces the color mode to match the value given in v

func IsStderrTerminal

func IsStderrTerminal() bool

IsStderrTerminal returns true if the terminal is stderr

func IsStdoutTerminal

func IsStdoutTerminal() bool

IsStdoutTerminal returns true if the terminal is stdout

Types

This section is empty.

Jump to

Keyboard shortcuts

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