Discover Packages
github.com/84kaliplexon3/lxd
shared
termios
package
Version:
v0.0.0-...-49f7de5
Opens a new window with list of versions in this module.
Published: Apr 29, 2020
License: Apache-2.0
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Rendered for
linux/amd64
windows/amd64
darwin/amd64
js/wasm
GetSize returns the dimensions of the given terminal.
IsTerminal returns true if the given file descriptor is a terminal.
Restore restores the terminal connected to the given file descriptor to a previous state.
State contains the state of a terminal.
GetState returns the current state of a terminal which may be useful to restore the terminal after a signal.
MakeRaw put the terminal connected to the given file descriptor into raw mode and returns the previous state of the terminal so that it can be restored.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.