Features
Using crossterm for terminal manipulation, TermKit gives you drop-in widgets for your CLI or terminal applications.
Widgets Available
[!NOTE] Linux and MacOS is tested with the Ghostty Terminal, and Windows is tested with the Windows Terminal. If you find any bugs, on other terminals please open an issue.
- infobox: A simple infobox widget that displays a message in the terminal.
- Color Customization
- Padding Customization
- Linux + Windows + MacOS
- list selector: A list selector widget that allows you to select an item from a list.
- Color Customization
- Linux + Windows + MacOS
- progressbar: A progress bar widget that displays a progress bar in the terminal.
- Color Customization
- Linux + Windows + MacOS
- progressbar manager: A progress bar manager that helps manage multiple progress bars in the terminal.
- Color Customization
- Linux + Windows + MacOS
- spinner: A spinner widget that displays a spinner in the terminal.
- Color Customization
- Linux + Windows + MacOS
- meter: A meter that displays quantitative and changing data in the terminal.
- kept behind
full-tui-interfacefeature - Color Customization
- Linux + Windows + MacOS
- kept behind
- prompt: A prompt widget that displays a prompt with configurable options in the terminal.
- Color Customization
- Linux + Windows + MacOS
- table: A table widget that displays a table in the terminal.
- Color Customization
- Linux + Windows + MacOS
and more per request
Usage
Add this to your Cargo.toml:
[]
= "0.2.5"
and refer to the examples for usage.
License
Licensed under the MIT license. See LICENSE for more information.