#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

#33 in #multiplexer

Download history 463/week @ 2024-08-13 756/week @ 2024-08-20 510/week @ 2024-08-27 569/week @ 2024-09-03 806/week @ 2024-09-10 623/week @ 2024-09-17 1087/week @ 2024-09-24 798/week @ 2024-10-01 889/week @ 2024-10-08 1330/week @ 2024-10-15 1319/week @ 2024-10-22 1189/week @ 2024-10-29 869/week @ 2024-11-05 621/week @ 2024-11-12 1364/week @ 2024-11-19 762/week @ 2024-11-26

3,810 downloads per month
Used in 14 crates (11 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

~6.5MB
~103K SLoC