Crates.io | filterm |
lib.rs | filterm |
version | 0.4.2 |
source | src |
created_at | 2021-10-27 06:12:22.986891 |
updated_at | 2023-09-18 15:58:39.803343 |
description | Filter terminal data to and from a child process |
homepage | |
repository | https://github.com/taylordotfish/filterm |
max_upload_size | |
id | 472722 |
size | 103,870 |
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.
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.