#ratatui #tui #terminal #multiplexer #tty

tui-term

A pseudoterminal widget for ratatui

Show the crate…

16 releases

0.2.0 Oct 26, 2024
0.1.12 Jun 25, 2024
0.1.9 Mar 28, 2024
0.1.6 Dec 18, 2023
0.1.2 Jun 23, 2023

#31 in #multiplexer

Download history 1121/week @ 2024-07-19 1838/week @ 2024-07-26 1067/week @ 2024-08-02 640/week @ 2024-08-09 732/week @ 2024-08-16 561/week @ 2024-08-23 568/week @ 2024-08-30 623/week @ 2024-09-06 818/week @ 2024-09-13 767/week @ 2024-09-20 971/week @ 2024-09-27 931/week @ 2024-10-04 1089/week @ 2024-10-11 1305/week @ 2024-10-18 1199/week @ 2024-10-25 1078/week @ 2024-11-01

4,888 downloads per month
Used in 13 crates (10 directly)

MIT license

41KB
708 lines

tui-term

Crates Documentation Matrix Chat Room

A pseudoterminal widget for the ratatui crate.

Demo of tui-term

Status

[!NOTE] This project is currently in active development and should be considered a work in progress. The goal of tui-term is to provide a robust and well-tested pseudoterminal widget for users of the ratatui crate.

Installation

To use tui-term, simply add it as a dependency in your Cargo.toml file:

[dependencies]
tui-term = "0.2.0"

or use cargo add:

cargo add tui-term

Examples

Check out the examples directory, for more information, or run an example:

cargo run --example simple_ls_rw

Controller

The controller is an experimental feature helping with managing the lifecycle of commands that are spawned inside a pseudoterminal. Currently the support is limited to oneshot commands.

To activate the feature:

cargo add tui-term -F unstable

Chat Room

Join our matrix chat room, for possibly synchronous communication.

Architecture

For an overview of tui-term's architecture and design principles, please refer to the Architecture documentation.

Contributing

We welcome contributions from the community! Check out the Contributing Guidelines on how to get started.

Release Notes

Stay updated with the latest changes by viewing the Changelog.

License

tui-term is available under the MIT license. See LICENCE for more information.

Dependencies

~7MB
~120K SLoC