Crate pseudoterm[−][src]
Structs
OpenptyOptions |
Configurable options for opening PTYs |
RawTerminal |
A structure that will automatically reset terminal mode when dropped |
Termios |
A cross-platform wrapper around underlying the termios representation |
TermiosSetter |
A way to get/set the termios flags. On some operating systems this struct can keep internal data to avoid redundant system calls. |
Winsize |
How big a terminal window is |
WinsizeSetter |
A way to get/set the window size. On some operating systems this struct can keep internal data to avoid redundant system calls. |
Functions
get_size |
Get the window size for the specified file. This is a shortcut for: |
isatty |
Returns true if the file is a TTY/PTY. This usually means the program is ran interactively and not for example piped to another program. |
openpty |
Open a PTY master and slave. Optionally resized to the specified size |
prepare_cmd |
Prepare a |