package
Version:
v0.0.0-...-e2dc8b5
Opens a new window with list of versions in this module.
Published: Aug 14, 2024
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 1
Opens a new window with list of known importers.
Documentation
¶
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.
Control
const (
CS7 C = iota
CS8
PARENB
PARODD
)
Control possible values.
CC is the termios cc field.
It stores an array of special characters related to terminal I/O.
const (
INTR CC = iota
QUIT
ERASE
KILL
EOF
EOL
EOL2
START
STOP
SUSP
WERASE
RPRNT
LNEXT
DISCARD
STATUS
SWTCH
DSUSP
FLUSH
)
CC possible values.
Input Controls
const (
IGNPAR I = iota
PARMRK
INPCK
ISTRIP
INLCR
IGNCR
ICRNL
IXON
IXANY
IXOFF
IMAXBEL
IUCLC
)
Input possible values.
Line Controls.
const (
ISIG L = iota
ICANON
ECHO
ECHOE
ECHOK
ECHONL
NOFLSH
TOSTOP
IEXTEN
ECHOCTL
ECHOKE
PENDIN
IUTF8
XCASE
)
Line possible values.
Output Controls
const (
OPOST O = iota
ONLCR
OCRNL
ONOCR
ONLRET
OLCUC
)
Output possible values.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.