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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user