diff options
author | Michael Muré <batolettre@gmail.com> | 2019-11-10 13:14:42 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-11-10 13:14:42 +0100 |
commit | eaf963164cad17f87999f8a781ff9b688729b31c (patch) | |
tree | 68ecd87689ee16ad3de5a0e77dc13ad618fb6962 /vendor/github.com/awesome-gocui/termbox-go/syscalls_darwin.go | |
parent | 318039df31b0846de85e6469d75c3fd5fe5a00a1 (diff) | |
parent | 965102f73c5a935bd35dde4ae27a187cdc5ad0ea (diff) | |
download | git-bug-eaf963164cad17f87999f8a781ff9b688729b31c.tar.gz |
Merge pull request #242 from MichaelMure/gocui
termui: migrate to awesome-gocui instead of the old fork I had
Diffstat (limited to 'vendor/github.com/awesome-gocui/termbox-go/syscalls_darwin.go')
-rw-r--r-- | vendor/github.com/awesome-gocui/termbox-go/syscalls_darwin.go | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/vendor/github.com/awesome-gocui/termbox-go/syscalls_darwin.go b/vendor/github.com/awesome-gocui/termbox-go/syscalls_darwin.go new file mode 100644 index 00000000..25b78f7a --- /dev/null +++ b/vendor/github.com/awesome-gocui/termbox-go/syscalls_darwin.go @@ -0,0 +1,41 @@ +// Created by cgo -godefs - DO NOT EDIT +// cgo -godefs syscalls.go + +// +build !amd64 + +package termbox + +type syscall_Termios struct { + Iflag uint32 + Oflag uint32 + Cflag uint32 + Lflag uint32 + Cc [20]uint8 + Ispeed uint32 + Ospeed uint32 +} + +const ( + syscall_IGNBRK = 0x1 + syscall_BRKINT = 0x2 + syscall_PARMRK = 0x8 + syscall_ISTRIP = 0x20 + syscall_INLCR = 0x40 + syscall_IGNCR = 0x80 + syscall_ICRNL = 0x100 + syscall_IXON = 0x200 + syscall_OPOST = 0x1 + syscall_ECHO = 0x8 + syscall_ECHONL = 0x10 + syscall_ICANON = 0x100 + syscall_ISIG = 0x80 + syscall_IEXTEN = 0x400 + syscall_CSIZE = 0x300 + syscall_PARENB = 0x1000 + syscall_CS8 = 0x300 + syscall_VMIN = 0x10 + syscall_VTIME = 0x11 + + syscall_TCGETS = 0x402c7413 + syscall_TCSETS = 0x802c7414 +) |