go-terminal / pkg / terminal / termios.go

// +build ignore

package terminal

/*
#include <termios.h>
#include <sys/ioctl.h>
*/
import "C"

type syscall_Termios C.struct_termios

const (
	syscall_IGNBRK = C.IGNBRK
	syscall_BRKINT = C.BRKINT
	syscall_PARMRK = C.PARMRK
	syscall_ISTRIP = C.ISTRIP
	syscall_INLCR  = C.INLCR
	syscall_IGNCR  = C.IGNCR
	syscall_ICRNL  = C.ICRNL
	syscall_IXON   = C.IXON
	syscall_IXOFF  = C.IXOFF
	syscall_OPOST  = C.OPOST
	syscall_ECHO   = C.ECHO
	syscall_ECHONL = C.ECHONL
	syscall_ICANON = C.ICANON
	syscall_ISIG   = C.ISIG
	syscall_IEXTEN = C.IEXTEN
	syscall_CSIZE  = C.CSIZE
	syscall_PARENB = C.PARENB
	syscall_CS8    = C.CS8
	syscall_VMIN   = C.VMIN
	syscall_VTIME  = C.VTIME

	// on darwin change these to (on *bsd too?):
	// C.TIOCGETA
	// C.TIOCSETA
	syscall_TCGETS = C.TIOCGETA
	syscall_TCSETS = C.TIOCSETA
)
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.