Discover Packages
github.com/canonical/lxd
shared
termios
package
Version:
v0.0.0-...-3c2809b
Opens a new window with list of versions in this module.
Published: Nov 21, 2024
License: AGPL-3.0, Apache-2.0
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 6
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.