summaryrefslogtreecommitdiffstats
path: root/vendor/golang.org/x/term/term_unix_solaris.go
diff options
context:
space:
mode:
authorJesse Duffield <jessedduffield@gmail.com>2021-04-09 20:16:35 +1000
committerJesse Duffield <jessedduffield@gmail.com>2021-04-09 22:50:55 +1000
commit93fac1f3124f87009091230f61cc13b5e5473cb5 (patch)
treee3ce82feb812357a3b325883ae00388f7f73aa57 /vendor/golang.org/x/term/term_unix_solaris.go
parentd5504fa5d0d4e0312e1b27b8dbe3c6c664395a31 (diff)
reduce flicker without worrying about carriage returns
Diffstat (limited to 'vendor/golang.org/x/term/term_unix_solaris.go')
-rw-r--r--vendor/golang.org/x/term/term_unix_solaris.go10
1 files changed, 10 insertions, 0 deletions
diff --git a/vendor/golang.org/x/term/term_unix_solaris.go b/vendor/golang.org/x/term/term_unix_solaris.go
new file mode 100644
index 000000000..2d5efd26a
--- /dev/null
+++ b/vendor/golang.org/x/term/term_unix_solaris.go
@@ -0,0 +1,10 @@
+// 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