summaryrefslogtreecommitdiffstats
path: root/vendor/golang.org/x/term
diff options
context:
space:
mode:
authorJesse Duffield <jessedduffield@gmail.com>2021-06-05 22:17:49 +1000
committerJesse Duffield <jessedduffield@gmail.com>2021-06-06 09:12:42 +1000
commit82022615ddc25ec5bc0631894e32d8dda380eac2 (patch)
treeb609c448557e23d9ce4efbd1eb1e3aee41667f70 /vendor/golang.org/x/term
parentfb395bca6eedfc44afb04ad26005a45e7b7dfea9 (diff)
bump tcell
Diffstat (limited to 'vendor/golang.org/x/term')
-rw-r--r--vendor/golang.org/x/term/go.mod2
-rw-r--r--vendor/golang.org/x/term/term_unix_linux.go10
-rw-r--r--vendor/golang.org/x/term/term_unix_other.go (renamed from vendor/golang.org/x/term/term_unix_aix.go)5
-rw-r--r--vendor/golang.org/x/term/term_unix_solaris.go10
-rw-r--r--vendor/golang.org/x/term/term_unix_zos.go10
5 files changed, 5 insertions, 32 deletions
diff --git a/vendor/golang.org/x/term/go.mod b/vendor/golang.org/x/term/go.mod
index d45f52851..bcbe5b5e3 100644
--- a/vendor/golang.org/x/term/go.mod
+++ b/vendor/golang.org/x/term/go.mod
@@ -1,5 +1,5 @@
module golang.org/x/term
-go 1.11
+go 1.17
require golang.org/x/sys v0.0.0-20201119102817-f84b799fce68
diff --git a/vendor/golang.org/x/term/term_unix_linux.go b/vendor/golang.org/x/term/term_unix_linux.go
deleted file mode 100644
index 2d5efd26a..000000000
--- a/vendor/golang.org/x/term/term_unix_linux.go
+++ /dev/null
@@ -1,10 +0,0 @@
-// Copyright 2019 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-package term
-
-import "golang.org/x/sys/unix"
-
-const ioctlReadTermios = unix.TCGETS
-const ioctlWriteTermios = unix.TCSETS
diff --git a/vendor/golang.org/x/term/term_unix_aix.go b/vendor/golang.org/x/term/term_unix_other.go
index 2d5efd26a..1e8955c93 100644
--- a/vendor/golang.org/x/term/term_unix_aix.go
+++ b/vendor/golang.org/x/term/term_unix_other.go
@@ -1,7 +1,10 @@
-// Copyright 2019 The Go Authors. All rights reserved.
+// Copyright 2021 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
+//go:build aix || linux || solaris || zos
+// +build aix linux solaris zos
+
package term
import "golang.org/x/sys/unix"
diff --git a/vendor/golang.org/x/term/term_unix_solaris.go b/vendor/golang.org/x/term/term_unix_solaris.go
deleted file mode 100644
index 2d5efd26a..000000000
--- a/vendor/golang.org/x/term/term_unix_solaris.go
+++ /dev/null
@@ -1,10 +0,0 @@
-// Copyright 2019 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-package term
-
-import "golang.org/x/sys/unix"
-
-const ioctlReadTermios = unix.TCGETS
-const ioctlWriteTermios = unix.TCSETS
diff --git a/vendor/golang.org/x/term/term_unix_zos.go b/vendor/golang.org/x/term/term_unix_zos.go
deleted file mode 100644
index b85ab8998..000000000
--- a/vendor/golang.org/x/term/term_unix_zos.go
+++ /dev/null
@@ -1,10 +0,0 @@
-// Copyright 2020 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-package term
-
-import "golang.org/x/sys/unix"
-
-const ioctlReadTermios = unix.TCGETS
-const ioctlWriteTermios = unix.TCSETS