package termios
Import Path
github.com/charmbracelet/x/termios (on go.dev)
Dependency Relation
imports 2 packages, and imported by one package
Package-Level Type Names (total 5)
Control
func SetTermios(fd int, ispeed uint32, ospeed uint32, cc map[CC]uint8, iflag map[I]bool, oflag map[O]bool, cflag map[C]bool, lflag map[L]bool) error
const CS7
const CS8
const PARENB
const PARODD
CC is the termios cc field.
It stores an array of special characters related to terminal I/O.
func SetTermios(fd int, ispeed uint32, ospeed uint32, cc map[CC]uint8, iflag map[I]bool, oflag map[O]bool, cflag map[C]bool, lflag map[L]bool) error
const DISCARD
const DSUSP
const EOF
const EOL
const EOL2
const ERASE
const FLUSH
const INTR
const KILL
const LNEXT
const QUIT
const RPRNT
const START
const STATUS
const STOP
const SUSP
const SWTCH
const WERASE
Input Controls
func SetTermios(fd int, ispeed uint32, ospeed uint32, cc map[CC]uint8, iflag map[I]bool, oflag map[O]bool, cflag map[C]bool, lflag map[L]bool) error
const ICRNL
const IGNCR
const IGNPAR
const IMAXBEL
const INLCR
const INPCK
const ISTRIP
const IUCLC
const IXANY
const IXOFF
const IXON
const PARMRK
Line Controls.
func SetTermios(fd int, ispeed uint32, ospeed uint32, cc map[CC]uint8, iflag map[I]bool, oflag map[O]bool, cflag map[C]bool, lflag map[L]bool) error
const ECHO
const ECHOCTL
const ECHOE
const ECHOK
const ECHOKE
const ECHONL
const ICANON
const IEXTEN
const ISIG
const IUTF8
const NOFLSH
const PENDIN
const TOSTOP
const XCASE
Package-Level Functions (total 4)
GetTermios gets the termios of the given fd.
GetWinsize gets window size for an fd.
SetTermios sets the given termios over the given fd's current termios.
SetWinsize sets window size for an fd from a Winsize.
Package-Level Constants (total 54)
Control possible values.
Control possible values.
CC possible values.
CC possible values.
Line possible values.
Line possible values.
Line possible values.
Line possible values.
Line possible values.
Line possible values.
CC possible values.
CC possible values.
CC possible values.
CC possible values.
CC possible values.
Line possible values.
Input possible values.
Line possible values.
Input possible values.
Input possible values.
Input possible values.
Input possible values.
Input possible values.
CC possible values.
Line possible values.
Input possible values.
Input possible values.
Line possible values.
Input possible values.
Input possible values.
Input possible values.
CC possible values.
CC possible values.
Line possible values.
Output possible values.
Output possible values.
Output possible values.
Output possible values.
Output possible values.
Output possible values.
Control possible values.
Input possible values.
Control possible values.
Line possible values.
CC possible values.
CC possible values.
CC possible values.
CC possible values.
CC possible values.
CC possible values.
CC possible values.
Line possible values.
CC possible values.
Line possible values.
![]() |
The pages are generated with Golds v0.8.2. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |