forked from gdamore/tcell
-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tscreen_*.go: Use unix.Ioctl* on BSD systems, deduplicate code
Replace Syscall with unix.Ioctl* in tscreen_{bsd,darwin}.go. Merge tscreen_{bsd,solaris}.go with tscreen_linux.go and rename to tscreen_unix.go to deduplicate code.
- Loading branch information
Showing
6 changed files
with
53 additions
and
279 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
// +build freebsd netbsd openbsd dragonfly darwin | ||
|
||
package tcell | ||
|
||
import "golang.org/x/sys/unix" | ||
|
||
const ( | ||
getTermios = unix.TIOCGETA | ||
setTermios = unix.TIOCSETA | ||
flushTermios = unix.TIOCSETAF | ||
) |
Oops, something went wrong.