term: fix build on js/wasm and nacl

Change-Id: I8ff21952a72f3f5838c9959f00d9f4c8b4b45d2d
Reviewed-on: https://go-review.googlesource.com/c/term/+/201117
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
1 file changed
tree: 39cd1f569a12e2b687cb68787a26f6c522f8c00e
  1. AUTHORS
  2. CONTRIBUTING.md
  3. CONTRIBUTORS
  4. LICENSE
  5. PATENTS
  6. README.md
  7. go.mod
  8. go.sum
  9. term.go
  10. term_aix.go
  11. term_bsd.go
  12. term_linux.go
  13. term_linux_test.go
  14. term_plan9.go
  15. term_solaris.go
  16. term_test.go
  17. term_unix.go
  18. term_unsupported.go
  19. term_windows.go
README.md

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.