Crate virtual_terminal

Source
Expand description

Virtual Terminal for Rust crates.io page docs.rs page

Async virtual terminal for Rust. Allows to spawn/communicate with a process in a virtual terminal (Linux only).

The communication is performed through async channels, so it is possible to communicate with a program e.g. on a remote machine via custom API/transport.

§Issues

While the terminal side is pretty simple to implement, major issues may arise from the client side as the spawned process may require special input/output handling.

The terminal itself has been tested with the majority of traditional complicated programs, such as vim, screen, tmux, mc etc. and works pretty well.

Structs§

Command
A command to be run in a virtual terminal

Enums§

Input
Input to the command
Output
Output from the command