From ec4270c43f1ddd37d1eb19da5db78129b93f72b7 Mon Sep 17 00:00:00 2001 From: Stefan Majewsky Date: Thu, 4 May 2017 22:36:53 +0200 Subject: add "cli" package with a Query method --- vendor/golang.org/x/crypto/ssh/terminal/util_bsd.go | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 vendor/golang.org/x/crypto/ssh/terminal/util_bsd.go (limited to 'vendor/golang.org/x/crypto/ssh/terminal/util_bsd.go') diff --git a/vendor/golang.org/x/crypto/ssh/terminal/util_bsd.go b/vendor/golang.org/x/crypto/ssh/terminal/util_bsd.go new file mode 100644 index 0000000..9c1ffd1 --- /dev/null +++ b/vendor/golang.org/x/crypto/ssh/terminal/util_bsd.go @@ -0,0 +1,12 @@ +// Copyright 2013 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. + +// +build darwin dragonfly freebsd netbsd openbsd + +package terminal + +import "syscall" + +const ioctlReadTermios = syscall.TIOCGETA +const ioctlWriteTermios = syscall.TIOCSETA -- cgit v1.3.1