Help us shape the future of Go! Take the 2026 Go Developer Survey

terminal

package
v1.16.2 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 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