Crate filterm

source ·
Expand description

Filterm lets you run a child process while piping all terminal data to and from the child through a custom filter. This lets you modify things like ANSI escape sequences that get sent from the child.

The main way of using Filterm is to define a custom filter by implementing the Filter trait, and then call run.

For an example of Filterm in use, see Monoterm.

Platform support

Filterm has been tested on GNU/Linux. It may work on other Unix-like operating systems, as it avoids using Linux- and GNU-specific functionality and sticks to POSIX whenever possible.

Re-exports

pub use nix;
pub use error::Error;

Modules

Enums

Returned by run when the child process exits.

Traits

A trait for filtering data to and from a child terminal.

Functions

Runs the command specified by args with the given filter.