From e5f449aeb1717c7a4156811d5d65510fee9d1530 Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Mon, 11 Apr 2022 13:13:07 -0400 Subject: [PATCH 01/14] all: gofmt Gofmt to update doc comments to the new formatting. For golang/go#51082. Change-Id: Ib37025f3feda6c1ac63a48247a644dd5afac2be8 Reviewed-on: https://go-review.googlesource.com/c/term/+/399619 Run-TryBot: Russ Cox TryBot-Result: Gopher Robot Auto-Submit: Russ Cox Reviewed-by: Ian Lance Taylor --- term.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/term.go b/term.go index d592708..1a40d10 100644 --- a/term.go +++ b/term.go @@ -7,11 +7,11 @@ // // Putting a terminal into raw mode is the most common requirement: // -// oldState, err := term.MakeRaw(int(os.Stdin.Fd())) -// if err != nil { -// panic(err) -// } -// defer term.Restore(int(os.Stdin.Fd()), oldState) +// oldState, err := term.MakeRaw(int(os.Stdin.Fd())) +// if err != nil { +// panic(err) +// } +// defer term.Restore(int(os.Stdin.Fd()), oldState) // // Note that on non-Unix systems os.Stdin.Fd() may not be 0. package term From 065cf7ba2467924044800341704ad654f62c4e6f Mon Sep 17 00:00:00 2001 From: ardnew Date: Wed, 25 May 2022 21:39:43 +0000 Subject: [PATCH 02/14] x/term: prevent invalid indexing into stRingBuffer The exported method (*stRingBuffer).NthPreviousEntry does not correctly handle arguments with negative values. A negative value will index beyond slice boundaries in most cases (unless size = max = INT_MAX) and cause an access violation at runtime. This change adds a condition to return ok = false for all negatively valued arguments, which is the same behavior that occurs with positively valued arguments exceeding buffer length. Adding the capability to index backwards (from the end of the slice) does not seem like the intent of this method, and it would not improve or simplify existing functionality. It would also be inconsistent with the handling of positive values out-of-bounds. Change-Id: Ib4113330f0044dd5b73c7d75c5cdcdd27d60ee77 GitHub-Last-Rev: fec355f53687dfbee962f611297355059efabd48 GitHub-Pull-Request: golang/term#8 Reviewed-on: https://go-review.googlesource.com/c/term/+/408754 Reviewed-by: Dmitri Shuralyov TryBot-Result: Gopher Robot Run-TryBot: Ian Lance Taylor Auto-Submit: Ian Lance Taylor Reviewed-by: Ian Lance Taylor Reviewed-by: Ian Lance Taylor Run-TryBot: Ian Lance Taylor Auto-Submit: Ian Lance Taylor --- terminal.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/terminal.go b/terminal.go index 535ab82..4b48a58 100644 --- a/terminal.go +++ b/terminal.go @@ -935,7 +935,7 @@ func (s *stRingBuffer) Add(a string) { // next most recent, and so on. If such an element doesn't exist then ok is // false. func (s *stRingBuffer) NthPreviousEntry(n int) (value string, ok bool) { - if n >= s.size { + if n < 0 || n >= s.size { return "", false } index := s.head - n From a9ba230a40351414fd544a412ea1f85661cc0ca8 Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Fri, 22 Jul 2022 11:11:05 -0400 Subject: [PATCH 03/14] A+C: delete AUTHORS and CONTRIBUTORS In 2009, Google's open-source lawyers asked us to create the AUTHORS file to define "The Go Authors", and the CONTRIBUTORS file was in keeping with open source best practices of the time. Re-reviewing our repos now in 2022, the open-source lawyers are comfortable with source control history taking the place of the AUTHORS file, and most open source projects no longer maintain CONTRIBUTORS files. To ease maintenance, remove AUTHORS and CONTRIBUTORS from all repos. For golang/go#53961. Change-Id: I049817224d2238c682ba92fbfba1d265bea183c8 Reviewed-on: https://go-review.googlesource.com/c/term/+/419104 TryBot-Result: Gopher Robot Run-TryBot: Russ Cox Reviewed-by: David Chase --- AUTHORS | 3 --- CONTRIBUTORS | 3 --- 2 files changed, 6 deletions(-) delete mode 100644 AUTHORS delete mode 100644 CONTRIBUTORS diff --git a/AUTHORS b/AUTHORS deleted file mode 100644 index 15167cd..0000000 --- a/AUTHORS +++ /dev/null @@ -1,3 +0,0 @@ -# This source code refers to The Go Authors for copyright purposes. -# The master list of authors is in the main Go distribution, -# visible at http://tip.golang.org/AUTHORS. diff --git a/CONTRIBUTORS b/CONTRIBUTORS deleted file mode 100644 index 1c4577e..0000000 --- a/CONTRIBUTORS +++ /dev/null @@ -1,3 +0,0 @@ -# This source code was written by the Go contributors. -# The master list of contributors is in the main Go distribution, -# visible at http://tip.golang.org/CONTRIBUTORS. From 7a66f970e0879c3baa7bc9fa168ebe5119c5f693 Mon Sep 17 00:00:00 2001 From: cui fliter Date: Fri, 16 Sep 2022 07:32:46 +0000 Subject: [PATCH 04/14] term_test.go: replace io/ioutil with io and os package For golang/go#45557 Change-Id: I27cfebf64dd4597e3f00ea3fbb32d670619b5c45 GitHub-Last-Rev: 4c4433c530115bd46edeebf79ebdc1f0a7586d77 GitHub-Pull-Request: golang/term#9 Reviewed-on: https://go-review.googlesource.com/c/term/+/430798 Run-TryBot: Ian Lance Taylor Run-TryBot: Ian Lance Taylor Auto-Submit: Ian Lance Taylor Reviewed-by: Ian Lance Taylor TryBot-Result: Gopher Robot Reviewed-by: Cherry Mui --- term_test.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/term_test.go b/term_test.go index ec1db03..561f3d4 100644 --- a/term_test.go +++ b/term_test.go @@ -5,7 +5,6 @@ package term_test import ( - "io/ioutil" "os" "runtime" "testing" @@ -14,7 +13,7 @@ import ( ) func TestIsTerminalTempFile(t *testing.T) { - file, err := ioutil.TempFile("", "TestIsTerminalTempFile") + file, err := os.CreateTemp("", "TestIsTerminalTempFile") if err != nil { t.Fatal(err) } From 83659145692c7cf64eba9f213010fa1bc7c502c9 Mon Sep 17 00:00:00 2001 From: Gopher Robot Date: Mon, 17 Oct 2022 18:28:05 +0000 Subject: [PATCH 05/14] go.mod: update golang.org/x dependencies Update golang.org/x dependencies to their latest tagged versions. Once this CL is submitted, and post-submit testing succeeds on all first-class ports across all supported Go versions, this repository will be tagged with its next minor version. Change-Id: I481d3392e3d112911300c7bcf9411df0c6b73bd6 Reviewed-on: https://go-review.googlesource.com/c/term/+/443415 Reviewed-by: Heschi Kreinick TryBot-Result: Gopher Robot Reviewed-by: Dmitri Shuralyov Run-TryBot: Gopher Robot Reviewed-by: Dmitri Shuralyov Auto-Submit: Gopher Robot --- go.mod | 2 +- go.sum | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/go.mod b/go.mod index edf0e5b..663b7f4 100644 --- a/go.mod +++ b/go.mod @@ -2,4 +2,4 @@ module golang.org/x/term go 1.17 -require golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1 +require golang.org/x/sys v0.1.0 diff --git a/go.sum b/go.sum index ff13213..b69ea85 100644 --- a/go.sum +++ b/go.sum @@ -1,2 +1,2 @@ -golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1 h1:SrN+KX8Art/Sf4HNj6Zcz06G7VEz+7w9tdXTPOZ7+l4= -golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.1.0 h1:kunALQeHf1/185U1i0GOB/fy1IPRDDpuoOOqRReG57U= +golang.org/x/sys v0.1.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= From f6f2839df8f8f2b63d3e35b954f8e597886d14a9 Mon Sep 17 00:00:00 2001 From: "M. J. Fromberger" Date: Sun, 30 Oct 2022 09:36:26 +0000 Subject: [PATCH 06/14] term: remove unused variable The eraseUnderCursor variable is unused, it came in with the import of the x/crypto/ssh/terminal package at d7a7210 but is not referenced here. When this package is vendored, the unused unexported name trips warnings from tools like staticcheck. Change-Id: I4289239edcdfec434ec26b164ae6c0a9b9ee7067 GitHub-Last-Rev: a4ab5868b489a2a9b37c7f2d99f00a507d061744 GitHub-Pull-Request: golang/term#10 Reviewed-on: https://go-review.googlesource.com/c/term/+/446455 Run-TryBot: Ian Lance Taylor Run-TryBot: Ian Lance Taylor Reviewed-by: Ian Lance Taylor Auto-Submit: Ian Lance Taylor TryBot-Result: Gopher Robot Reviewed-by: Bryan Mills --- terminal.go | 1 - 1 file changed, 1 deletion(-) diff --git a/terminal.go b/terminal.go index 4b48a58..f636667 100644 --- a/terminal.go +++ b/terminal.go @@ -233,7 +233,6 @@ func (t *Terminal) queue(data []rune) { t.outBuf = append(t.outBuf, []byte(string(data))...) } -var eraseUnderCursor = []rune{' ', keyEscape, '[', 'D'} var space = []rune{' '} func isPrintable(key rune) bool { From f72a2d8d642ddf1481474d80c4e12bb68d1702b9 Mon Sep 17 00:00:00 2001 From: Gopher Robot Date: Mon, 7 Nov 2022 19:46:37 +0000 Subject: [PATCH 07/14] go.mod: update golang.org/x dependencies Update golang.org/x dependencies to their latest tagged versions. Once this CL is submitted, and post-submit testing succeeds on all first-class ports across all supported Go versions, this repository will be tagged with its next minor version. Change-Id: I881b6b77e89e8d521940c996e893be72632b4867 Reviewed-on: https://go-review.googlesource.com/c/term/+/448456 Reviewed-by: Than McIntosh Run-TryBot: Gopher Robot TryBot-Result: Gopher Robot Reviewed-by: Heschi Kreinick Auto-Submit: Gopher Robot --- go.mod | 2 +- go.sum | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/go.mod b/go.mod index 663b7f4..d3760b7 100644 --- a/go.mod +++ b/go.mod @@ -2,4 +2,4 @@ module golang.org/x/term go 1.17 -require golang.org/x/sys v0.1.0 +require golang.org/x/sys v0.2.0 diff --git a/go.sum b/go.sum index b69ea85..beac707 100644 --- a/go.sum +++ b/go.sum @@ -1,2 +1,2 @@ -golang.org/x/sys v0.1.0 h1:kunALQeHf1/185U1i0GOB/fy1IPRDDpuoOOqRReG57U= -golang.org/x/sys v0.1.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.2.0 h1:ljd4t30dBnAvMZaQCevtY0xLLD0A+bRZXbgLMLU1F/A= +golang.org/x/sys v0.2.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= From 97ca0e3821bf3a3cf6ea2441ece139e524802385 Mon Sep 17 00:00:00 2001 From: Gopher Robot Date: Mon, 5 Dec 2022 20:48:12 +0000 Subject: [PATCH 08/14] go.mod: update golang.org/x dependencies Update golang.org/x dependencies to their latest tagged versions. Once this CL is submitted, and post-submit testing succeeds on all first-class ports across all supported Go versions, this repository will be tagged with its next minor version. Change-Id: I3c770ec1f36cd379ef7400445cf05e32afb1e109 Reviewed-on: https://go-review.googlesource.com/c/term/+/455296 Run-TryBot: Gopher Robot Auto-Submit: Gopher Robot Reviewed-by: Dmitri Shuralyov TryBot-Result: Gopher Robot Reviewed-by: Heschi Kreinick Reviewed-by: Dmitri Shuralyov --- go.mod | 2 +- go.sum | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/go.mod b/go.mod index d3760b7..1174335 100644 --- a/go.mod +++ b/go.mod @@ -2,4 +2,4 @@ module golang.org/x/term go 1.17 -require golang.org/x/sys v0.2.0 +require golang.org/x/sys v0.3.0 diff --git a/go.sum b/go.sum index beac707..2738fca 100644 --- a/go.sum +++ b/go.sum @@ -1,2 +1,2 @@ -golang.org/x/sys v0.2.0 h1:ljd4t30dBnAvMZaQCevtY0xLLD0A+bRZXbgLMLU1F/A= -golang.org/x/sys v0.2.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.3.0 h1:w8ZOecv6NaNa/zC8944JTU3vz4u6Lagfk4RPQxv92NQ= +golang.org/x/sys v0.3.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= From 1efcd90d861e239a7719db7012b81621e6f7d297 Mon Sep 17 00:00:00 2001 From: Gopher Robot Date: Wed, 4 Jan 2023 15:01:19 +0000 Subject: [PATCH 09/14] go.mod: update golang.org/x dependencies Update golang.org/x dependencies to their latest tagged versions. Once this CL is submitted, and post-submit testing succeeds on all first-class ports across all supported Go versions, this repository will be tagged with its next minor version. Change-Id: I3ff1efa287de001f5b080fc389a03231a6102ce3 Reviewed-on: https://go-review.googlesource.com/c/term/+/460496 Run-TryBot: Gopher Robot TryBot-Result: Gopher Robot Reviewed-by: Dmitri Shuralyov Reviewed-by: Heschi Kreinick Auto-Submit: Gopher Robot --- go.mod | 2 +- go.sum | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/go.mod b/go.mod index 1174335..6801ff9 100644 --- a/go.mod +++ b/go.mod @@ -2,4 +2,4 @@ module golang.org/x/term go 1.17 -require golang.org/x/sys v0.3.0 +require golang.org/x/sys v0.4.0 diff --git a/go.sum b/go.sum index 2738fca..c2a6782 100644 --- a/go.sum +++ b/go.sum @@ -1,2 +1,2 @@ -golang.org/x/sys v0.3.0 h1:w8ZOecv6NaNa/zC8944JTU3vz4u6Lagfk4RPQxv92NQ= -golang.org/x/sys v0.3.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.4.0 h1:Zr2JFtRQNX3BCZ8YtxRE9hNJYC8J6I1MVbMg6owUp18= +golang.org/x/sys v0.4.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= From d974fe83263b348b6fa9fb95bebc2ff93997880a Mon Sep 17 00:00:00 2001 From: Gopher Robot Date: Tue, 7 Feb 2023 00:19:11 +0000 Subject: [PATCH 10/14] go.mod: update golang.org/x dependencies Update golang.org/x dependencies to their latest tagged versions. Once this CL is submitted, and post-submit testing succeeds on all first-class ports across all supported Go versions, this repository will be tagged with its next minor version. Change-Id: If1fff921b9cedf43c4ab936934e16ed304777a63 Reviewed-on: https://go-review.googlesource.com/c/term/+/465915 Auto-Submit: Gopher Robot Reviewed-by: Dmitri Shuralyov TryBot-Result: Gopher Robot Run-TryBot: Gopher Robot Reviewed-by: Dmitri Shuralyov Reviewed-by: David Chase --- go.mod | 2 +- go.sum | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/go.mod b/go.mod index 6801ff9..10998c2 100644 --- a/go.mod +++ b/go.mod @@ -2,4 +2,4 @@ module golang.org/x/term go 1.17 -require golang.org/x/sys v0.4.0 +require golang.org/x/sys v0.5.0 diff --git a/go.sum b/go.sum index c2a6782..ba21016 100644 --- a/go.sum +++ b/go.sum @@ -1,2 +1,2 @@ -golang.org/x/sys v0.4.0 h1:Zr2JFtRQNX3BCZ8YtxRE9hNJYC8J6I1MVbMg6owUp18= -golang.org/x/sys v0.4.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.5.0 h1:MUK/U/4lj1t1oPg0HfuXDN/Z1wv31ZJ/YcPiGccS4DU= +golang.org/x/sys v0.5.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= From 0edf009663f942c41572b65d537ee2636e92180c Mon Sep 17 00:00:00 2001 From: Gopher Robot Date: Sat, 4 Mar 2023 15:01:17 +0000 Subject: [PATCH 11/14] go.mod: update golang.org/x dependencies Update golang.org/x dependencies to their latest tagged versions. Once this CL is submitted, and post-submit testing succeeds on all first-class ports across all supported Go versions, this repository will be tagged with its next minor version. Change-Id: I693f904964c4c6d4920034a424a9f3e95825a268 Reviewed-on: https://go-review.googlesource.com/c/term/+/473435 Auto-Submit: Gopher Robot Run-TryBot: Gopher Robot Reviewed-by: Dmitri Shuralyov TryBot-Result: Gopher Robot Reviewed-by: Dmitri Shuralyov Reviewed-by: Heschi Kreinick --- go.mod | 2 +- go.sum | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/go.mod b/go.mod index 10998c2..39cfb00 100644 --- a/go.mod +++ b/go.mod @@ -2,4 +2,4 @@ module golang.org/x/term go 1.17 -require golang.org/x/sys v0.5.0 +require golang.org/x/sys v0.6.0 diff --git a/go.sum b/go.sum index ba21016..789d7a1 100644 --- a/go.sum +++ b/go.sum @@ -1,2 +1,2 @@ -golang.org/x/sys v0.5.0 h1:MUK/U/4lj1t1oPg0HfuXDN/Z1wv31ZJ/YcPiGccS4DU= -golang.org/x/sys v0.5.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.6.0 h1:MVltZSvRTcU2ljQOhs94SXPftV6DCNnZViHeQps87pQ= +golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= From 7ae6be6d0150527c2c41e70586b9ade6a972a186 Mon Sep 17 00:00:00 2001 From: Gopher Robot Date: Tue, 4 Apr 2023 18:07:18 +0000 Subject: [PATCH 12/14] go.mod: update golang.org/x dependencies Update golang.org/x dependencies to their latest tagged versions. Once this CL is submitted, and post-submit testing succeeds on all first-class ports across all supported Go versions, this repository will be tagged with its next minor version. Change-Id: Ie69ca3795a34ff6a73adf2c85bccae17aca4ee38 Reviewed-on: https://go-review.googlesource.com/c/term/+/482135 TryBot-Result: Gopher Robot Run-TryBot: Gopher Robot Reviewed-by: Carlos Amedee Auto-Submit: Gopher Robot Reviewed-by: Heschi Kreinick --- go.mod | 2 +- go.sum | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/go.mod b/go.mod index 39cfb00..df19008 100644 --- a/go.mod +++ b/go.mod @@ -2,4 +2,4 @@ module golang.org/x/term go 1.17 -require golang.org/x/sys v0.6.0 +require golang.org/x/sys v0.7.0 diff --git a/go.sum b/go.sum index 789d7a1..7c22a2b 100644 --- a/go.sum +++ b/go.sum @@ -1,2 +1,2 @@ -golang.org/x/sys v0.6.0 h1:MVltZSvRTcU2ljQOhs94SXPftV6DCNnZViHeQps87pQ= -golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.7.0 h1:3jlCCIQZPdOYu1h8BkNvLz8Kgwtae2cagcG/VamtZRU= +golang.org/x/sys v0.7.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= From 119f7033984f028b159c6167aa5afc38c0f9a585 Mon Sep 17 00:00:00 2001 From: Gopher Robot Date: Thu, 4 May 2023 15:01:14 +0000 Subject: [PATCH 13/14] go.mod: update golang.org/x dependencies Update golang.org/x dependencies to their latest tagged versions. Once this CL is submitted, and post-submit testing succeeds on all first-class ports across all supported Go versions, this repository will be tagged with its next minor version. Change-Id: Ifa4538c7af7df94781ea945b6d36be4a32189059 Reviewed-on: https://go-review.googlesource.com/c/term/+/492636 Auto-Submit: Gopher Robot TryBot-Result: Gopher Robot Reviewed-by: Benny Siegert Reviewed-by: Carlos Amedee Run-TryBot: Gopher Robot --- go.mod | 2 +- go.sum | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/go.mod b/go.mod index df19008..3fb7300 100644 --- a/go.mod +++ b/go.mod @@ -2,4 +2,4 @@ module golang.org/x/term go 1.17 -require golang.org/x/sys v0.7.0 +require golang.org/x/sys v0.8.0 diff --git a/go.sum b/go.sum index 7c22a2b..c5eb700 100644 --- a/go.sum +++ b/go.sum @@ -1,2 +1,2 @@ -golang.org/x/sys v0.7.0 h1:3jlCCIQZPdOYu1h8BkNvLz8Kgwtae2cagcG/VamtZRU= -golang.org/x/sys v0.7.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.8.0 h1:EBmGv8NaZBZTWvrbjNoL6HVt+IVy3QDQpJs7VRIw3tU= +golang.org/x/sys v0.8.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= From f6de4a13df88c8a1db88fc651737d7ff8b144a5f Mon Sep 17 00:00:00 2001 From: Gopher Robot Date: Mon, 12 Jun 2023 17:27:39 +0000 Subject: [PATCH 14/14] go.mod: update golang.org/x dependencies Update golang.org/x dependencies to their latest tagged versions. Once this CL is submitted, and post-submit testing succeeds on all first-class ports across all supported Go versions, this repository will be tagged with its next minor version. Change-Id: Ib68756ce1a8aef7c99ff86e6c71a72794886de0e Reviewed-on: https://go-review.googlesource.com/c/term/+/502517 Reviewed-by: Heschi Kreinick Auto-Submit: Gopher Robot Reviewed-by: Carlos Amedee Run-TryBot: Gopher Robot TryBot-Result: Gopher Robot --- go.mod | 2 +- go.sum | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/go.mod b/go.mod index 3fb7300..5a4a49c 100644 --- a/go.mod +++ b/go.mod @@ -2,4 +2,4 @@ module golang.org/x/term go 1.17 -require golang.org/x/sys v0.8.0 +require golang.org/x/sys v0.9.0 diff --git a/go.sum b/go.sum index c5eb700..cb35c1f 100644 --- a/go.sum +++ b/go.sum @@ -1,2 +1,2 @@ -golang.org/x/sys v0.8.0 h1:EBmGv8NaZBZTWvrbjNoL6HVt+IVy3QDQpJs7VRIw3tU= -golang.org/x/sys v0.8.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.9.0 h1:KS/R3tvhPqvJvwcKfnBHJwwthS11LRhmM5D59eEXa0s= +golang.org/x/sys v0.9.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=