Bryan C. Mills
6886f2dfbf
all: upgrade x/sys to latest
...
This fixes a build error observed in
https://build.golang.org/log/13b332a441d4d18d5358f87f945cafba3d7b9d4e .
Change-Id: I7ea6ba6e6bbeb30dabc28952306b28997410d07a
Reviewed-on: https://go-review.googlesource.com/c/term/+/328150
Trust: Bryan C. Mills <bcmills@google.com >
Run-TryBot: Bryan C. Mills <bcmills@google.com >
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org >
TryBot-Result: Go Bot <gobot@golang.org >
2021-06-15 17:13:37 +00:00
Bryan C. Mills
a79de5458b
go.mod: upgrade to go 1.17
...
This change was produced using 'go mod tidy -go=1.17'
with a go command built at CL 315210.
This activates lazy loading, and updates the go.mod file to maintain
the lazy-loading invariants (namely, including an explicit requirement
for every package transitively imported by the main module).
Note that this does *not* prevent users with earlier go versions from
successfully building packages from this module.
For golang/go#36460 .
Change-Id: Iad25619ccbce82b91bbf51d13a79404c6e998dcc
Reviewed-on: https://go-review.googlesource.com/c/term/+/316112
Trust: Bryan C. Mills <bcmills@google.com >
Run-TryBot: Bryan C. Mills <bcmills@google.com >
TryBot-Result: Go Bot <gobot@golang.org >
Reviewed-by: Ian Lance Taylor <iant@golang.org >
2021-05-03 06:03:54 +00:00
Tobias Klauser
7de9c90e9d
go.mod: update to latest golang.org/x/sys
...
This will add support for several newly added GOOS/GOARCH combinations,
e.g. netbsd/arm64.
Change-Id: I730be84e9067b3f6d0a3020d4a512975e227e718
Reviewed-on: https://go-review.googlesource.com/c/term/+/273347
Trust: Tobias Klauser <tobias.klauser@gmail.com >
Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com >
TryBot-Result: Go Bot <gobot@golang.org >
Reviewed-by: Ian Lance Taylor <iant@golang.org >
2020-11-26 16:20:22 +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
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