Tobias Klauser
ad39bd3f04
term: go mod tidy
...
Change-Id: If7fce055ae4d5b3aabdae161da42bd8b74de074c
Reviewed-on: https://go-review.googlesource.com/c/term/+/206159
Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com >
TryBot-Result: Gobot Gobot <gobot@golang.org >
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org >
2019-11-10 17:16:34 +00:00
Dmitri Goutnik
761de043ff
term: fix build on freebsd/arm64
...
Updates golang/go#35182
Change-Id: Ie108dbc04e97d9e120f64686fbf7fe1d51d7de5f
Reviewed-on: https://go-review.googlesource.com/c/term/+/203617
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org >
2019-10-26 14:42:23 +00:00
Tobias Klauser
5215a04f73
term: fix build on solaris
...
These build tags were copied by mistake to term_solaris.go. Remove them
to fix the build on solaris.
Change-Id: I0d6c4a1bd3a9dcbb9973051cff93819ba28f1fa8
Reviewed-on: https://go-review.googlesource.com/c/term/+/201418
Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com >
TryBot-Result: Gobot Gobot <gobot@golang.org >
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org >
2019-10-16 17:40:38 +00:00
Tobias Klauser
159e5304a9
term: use pseudo terminal in TestIsTerminalTerm on linux
...
Use /dev/ptmx to create a new pseudo terminal and use this in
TestIsTerminalTerm.
This should fix the test failing with ENXIO on some linux builders.
Change-Id: I39880d2cb538e3e9c8063ac79b5380ed00a476f5
Reviewed-on: https://go-review.googlesource.com/c/term/+/201417
Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com >
TryBot-Result: Gobot Gobot <gobot@golang.org >
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org >
2019-10-16 17:06:09 +00:00
Tobias Klauser
f887077f25
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 >
2019-10-14 20:57:23 +00:00
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
Bryan C. Mills
4b5627afda
all: add go.mod
...
Commands run:
go mod init
go mod edit -go=1.11
go mod tidy
go list -m all
go test ./...
Updates golang/go#30228
Change-Id: I86819ac0a2704468903e34ca49308ce65149791b
Reviewed-on: https://go-review.googlesource.com/c/term/+/167160
Run-TryBot: Bryan C. Mills <bcmills@google.com >
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org >
2019-03-12 20:22:59 +00:00
Andrew Bonventre
05bb8bb4be
CONTRIBUTING.md: remove note about not accepting Pull Requests
...
Updates golang/go#24185
Change-Id: I582f013c13651c71d6fdf48be3b5e8ddf0341e80
Reviewed-on: https://go-review.googlesource.com/100694
Reviewed-by: Andrew Bonventre <andybons@golang.org >
Reviewed-by: Ian Lance Taylor <iant@golang.org >
2018-03-14 18:02:04 +00:00
Kevin Burke
aa45bf8df0
README: add links to useful resources
...
Move the README to README.md so Gerrit can render it; currently
Gerrit only renders files named exactly "README.md" (for example at
https://go.googlesource.com/go ).
Add more links to the README explaining how to file issues,
how to submit code changes, where to download the code to and
how to get it. Hopefully this should help people who go to
https://go.googlesource.com/term or https://github.com/golang/term
figure out how to get started with development.
Change-Id: I8e1b1f1204f4c80acc5fd2cd28ab2efe4403c015
Reviewed-on: https://go-review.googlesource.com/49890
Reviewed-by: Kevin Burke <kev@inburke.com >
2017-09-27 05:45:33 +00:00
Brad Fitzpatrick
fcc174f3e9
term: add a Go file to make the builders happy
...
Change-Id: I01ba8ed54557791bf780d5e0f5260a57f6393a3b
Reviewed-on: https://go-review.googlesource.com/24908
Reviewed-by: Quentin Smith <quentin@golang.org >
2016-07-13 20:15:19 +00:00
Andrew Gerrand
0d63f7188e
initial commit
2015-11-18 15:07:36 +11:00