Use termios via CGO only on Linux
Signed-off-by: Yohei Ueda <yohei@jp.ibm.com>
This commit is contained in:
parent
92251ceb7b
commit
c1532556b2
4 changed files with 3 additions and 6 deletions
|
@ -1,4 +1,4 @@
|
||||||
// +build !windows,cgo
|
// +build linux,cgo
|
||||||
|
|
||||||
package term
|
package term
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
// +build !windows,!cgo
|
// +build !windows
|
||||||
|
// +build !linux !cgo
|
||||||
|
|
||||||
package term
|
package term
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
// +build !cgo
|
|
||||||
|
|
||||||
package term
|
package term
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
// +build !cgo
|
|
||||||
|
|
||||||
package term
|
package term
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|
Loading…
Reference in a new issue