terminal

package
v1.3.0-rc.15 Latest Latest
Warning

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

Go to latest
Published: May 18, 2026 License: MPL-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	IsTerminalIn  = IsTerminal(os.Stdin)
	IsTerminalOut = IsTerminal(os.Stdout)
)

Functions

func IsTerminal

func IsTerminal(stdin io.Reader) bool

IsTerminal returns whether the passed object is a terminal or not.

Types

This section is empty.

Jump to

Keyboard shortcuts

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