term: golang.org/x/term Index | Files

package term

import "golang.org/x/term"

Package term provides support functions for dealing with terminals, as commonly found on UNIX systems.


Package Files

term.go term_linux.go term_unix.go

func IsTerminal Uses

func IsTerminal(fd int) bool

IsTerminal returns whether the given file descriptor is a terminal.

Package term imports 1 packages (graph) and is imported by 9 packages. Updated 2020-07-16. Refresh now. Tools for package owners.