Add support for DragonflyBSD and NetBSD.

This merges all the bsd (including darwin) support into terminal_bsd.go

Cross-compiling works for all of them in that they all compile, but I've only
actually tested the binary on dragonflybsd.  I don't see why this wouldn't
work on the others since I don't think they'd compile if they didn't
support TIOCGETA and Termios, but just a heads up.
This commit is contained in:
Curtis Gagliardi
2015-06-26 12:27:29 -07:00
parent 93a1736895
commit 8a5c13cf78
4 changed files with 3 additions and 33 deletions
+1 -1
View File
@@ -3,7 +3,7 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// +build linux darwin freebsd openbsd
// +build linux darwin freebsd openbsd netbsd dragonfly
package logrus