diff --git a/term/term_cgo.go b/term/tc_linux_cgo.go similarity index 97% rename from term/term_cgo.go rename to term/tc_linux_cgo.go index ddf080c..ae9516c 100644 --- a/term/term_cgo.go +++ b/term/tc_linux_cgo.go @@ -1,4 +1,4 @@ -// +build !windows,cgo +// +build linux,cgo package term diff --git a/term/term_nocgo.go b/term/tc_other.go similarity index 90% rename from term/term_nocgo.go rename to term/tc_other.go index c211c39..266039b 100644 --- a/term/term_nocgo.go +++ b/term/tc_other.go @@ -1,4 +1,5 @@ -// +build !windows,!cgo +// +build !windows +// +build !linux !cgo package term diff --git a/term/termios_darwin.go b/term/termios_darwin.go index 2640e8b..11cd70d 100644 --- a/term/termios_darwin.go +++ b/term/termios_darwin.go @@ -1,5 +1,3 @@ -// +build !cgo - package term import ( diff --git a/term/termios_freebsd.go b/term/termios_freebsd.go index 969beda..ed36595 100644 --- a/term/termios_freebsd.go +++ b/term/termios_freebsd.go @@ -1,5 +1,3 @@ -// +build !cgo - package term import (