mirror of https://github.com/ethereum/go-ethereum
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
414 B
28 lines
414 B
// +build linux
|
|
|
|
package liner
|
|
|
|
import "syscall"
|
|
|
|
const (
|
|
getTermios = syscall.TCGETS
|
|
setTermios = syscall.TCSETS
|
|
)
|
|
|
|
const (
|
|
icrnl = syscall.ICRNL
|
|
inpck = syscall.INPCK
|
|
istrip = syscall.ISTRIP
|
|
ixon = syscall.IXON
|
|
opost = syscall.OPOST
|
|
cs8 = syscall.CS8
|
|
isig = syscall.ISIG
|
|
icanon = syscall.ICANON
|
|
iexten = syscall.IEXTEN
|
|
)
|
|
|
|
type termios struct {
|
|
syscall.Termios
|
|
}
|
|
|
|
const cursorColumn = false
|
|
|