Different termios for linux/darwin
This commit is contained in:
parent
333abbf85a
commit
08ac1d0b35
|
@ -21,10 +21,6 @@ type Termios struct {
|
|||
Ospeed uintptr
|
||||
}
|
||||
|
||||
const (
|
||||
getTermios = syscall.TIOCGETA
|
||||
setTermios = syscall.TIOCSETA
|
||||
)
|
||||
|
||||
const (
|
||||
// Input flags
|
||||
|
|
|
@ -0,0 +1,6 @@
|
|||
package main
|
||||
|
||||
const (
|
||||
getTermios = syscall.TCIOGETA
|
||||
setTermios = syscall.TCIOSETA
|
||||
)
|
|
@ -0,0 +1,8 @@
|
|||
package main
|
||||
|
||||
import "syscall"
|
||||
|
||||
const (
|
||||
getTermios = syscall.TCGETS
|
||||
setTermios = syscall.TCSETS
|
||||
)
|
Loading…
Reference in New Issue