Tobias Klauser c3296ef303 term: add IsTerminal function
Extracted from golang.org/x/crypto/ssh/terminal

The implementation for plan9 is based on IsTerminal from
github.com/mattn/go-isatty

Change-Id: Id7bf2d6595639ff08e5fd5f786a145d340bbed08
Reviewed-on: https://go-review.googlesource.com/c/term/+/200681
Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2019-10-14 20:34:36 +00:00
2015-11-18 15:07:36 +11:00
2015-11-18 15:07:36 +11:00
2019-10-14 20:34:36 +00:00
2019-10-14 20:34:36 +00:00
2015-11-18 15:07:36 +11:00
2015-11-18 15:07:36 +11:00
2019-10-14 20:34:36 +00:00
2019-10-14 20:34:36 +00:00
2019-10-14 20:34:36 +00:00
2019-10-14 20:34:36 +00:00
2019-10-14 20:34:36 +00:00
2019-10-14 20:34:36 +00:00
2019-10-14 20:34:36 +00:00
2019-10-14 20:34:36 +00:00
2019-10-14 20:34:36 +00:00

Go terminal/console support

This repository provides Go terminal and console support packages.

Download/Install

The easiest way to install is to run go get -u golang.org/x/term. You can also manually git clone the repository to $GOPATH/src/golang.org/x/term.

Report Issues / Send Patches

This repository uses Gerrit for code changes. To learn how to submit changes to this repository, see https://golang.org/doc/contribute.html.

The main issue tracker for the term repository is located at https://github.com/golang/go/issues. Prefix your issue with "x/term:" in the subject line, so it is easy to find.

Description
No description provided
Readme BSD-3-Clause 248 KiB
Languages
Go 100%