#pty #tty #command-line

app fakepty

Run a command in a fake pty

3 stable releases

1.2.0 Jul 15, 2023
1.1.0 Jul 15, 2023
1.0.0 Jul 15, 2023

#21 in #pty

MIT/Apache

12KB
98 lines

fakepty

CI Crates

Run a command in a fake pty.

fakepty provides a pty whose size can be customized by environment variables COLUMNS and LINES.

$ fakepty docker run --help

$ COLUMNS=200 fakepty docker run --help

Dependencies

~4–17MB
~192K SLoC