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 error::Error;

Modules§

error
Error types.

Enums§

Exit
Returned by run when the child process exits.

Traits§

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

Functions§

run
Runs the command specified by args with the given filter.