From 0c58d7570f54344dc26e9de766ed91c613f60191 Mon Sep 17 00:00:00 2001 From: Laurent Demailly Date: Thu, 8 Aug 2024 12:25:50 -0700 Subject: [PATCH] prep for release under fortio.org/term --- README.md | 15 ++++----------- go.mod | 2 +- term_test.go | 2 +- 3 files changed, 6 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index d03d0ae..5a66244 100644 --- a/README.md +++ b/README.md @@ -1,19 +1,12 @@ # Go terminal/console support -[![Go Reference](https://pkg.go.dev/badge/golang.org/x/term.svg)](https://pkg.go.dev/golang.org/x/term) +[![Go Reference](https://pkg.go.dev/badge/fortio.org/term.svg)](https://pkg.go.dev/fortio.org/term) This repository provides Go terminal and console support packages. +It's a fork of the [golang.org/x/term](https://pkg.go.dev/golang.org/x/term) pending approval of improvements upstream. ## 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`. +The easiest way to use is to run `go get -u fortio.org/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. +Rather than use this lowlevel library, use [fortio.org/terminal](https://github.com/fortio/terminal#terminal) which wraps this one into a higher level and simpler more powerful API. diff --git a/go.mod b/go.mod index de7ea0f..85f7984 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module golang.org/x/term +module fortio.org/term go 1.18 diff --git a/term_test.go b/term_test.go index 561f3d4..48e5d57 100644 --- a/term_test.go +++ b/term_test.go @@ -9,7 +9,7 @@ import ( "runtime" "testing" - "golang.org/x/term" + "fortio.org/term" ) func TestIsTerminalTempFile(t *testing.T) {