commit | 29728f9d1dc17d2bc77e401b00bca0cb563117fc | [log] [tgz] |
---|---|---|
author | Jonathan Amsterdam <jba@google.com> | Tue Dec 14 06:17:18 2021 -0500 |
committer | Jonathan Amsterdam <jba@google.com> | Tue Dec 14 15:18:54 2021 +0000 |
tree | 21f4bfa960969538114da671312ea98a2594287a | |
parent | 503695b24cabdbe6677f6f973e081a9b44f3e5da [diff] |
devtools/lib.sh: detect terminal colors better Instead of guessing from the value of TERM whether the terminal supports colors, actually call tput. Change-Id: I9e7c3412d740fb139463682e49516d5199e9b4d8 Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/371595 Trust: Jonathan Amsterdam <jba@google.com> Run-TryBot: Jonathan Amsterdam <jba@google.com> TryBot-Result: kokoro <noreply+kokoro@google.com> Reviewed-by: Jamal Carvalho <jamal@golang.org>
Pkg.go.dev is a website for discovering and evaluating Go packages and modules.
You can check it out at https://pkg.go.dev.
If you want to report a bug or have a feature suggestion, please first check the known issues to see if your issue is already being discussed. If an issue does not already exist, feel free to file an issue.
For answers to frequently asked questions, see pkg.go.dev/about.
You can also chat with us on the #pkgsite Slack channel on the Gophers Slack.
We would love your help!
Our canonical Git repository is located at go.googlesource.com/pkgsite. There is a mirror of the repository at github.com/golang/pkgsite.
To contribute, please read our contributing guide.
Unless otherwise noted, the Go source files are distributed under the BSD-style license found in the LICENSE file.