term-kit

Crates.ioterm-kit
lib.rsterm-kit
version0.2.0
sourcesrc
created_at2024-06-24 23:11:11.378023
updated_at2024-06-28 04:48:48.869033
descriptionA simple terminal UI toolkit for Rust
homepagehttps://github.com/tylercritchlow/termkit
repositoryhttps://github.com/tylercritchlow/termkit
max_upload_size
id1282805
size32,613
Tyler Critchlow (tylercritchlow)

documentation

README

TermKit

A simple terminal widget kit made in Rust.

Features

Using crossterm for terminal manipulation, TermKit gives you drop-in widgets for your CLI or terminal applications.

Widgets Available

  • infobox: A simple infobox widget that displays a message in the terminal.
    • Color Customization
    • padding
    • Linux + Windows + Mac
  • listselector: A list selector widget that allows you to select an item from a list.
    • Color Customization
    • Linux
    • Mac
    • Windows
  • progressbar: A progress bar widget that displays a progress bar in the terminal.
    • Color Customization
    • Linux + Windows + Mac
  • spinner: A spinner widget that displays a spinner in the terminal.
    • Color Customization
    • Linux + Windows + Mac
  • meter: A meter that displays quantative and changing data in the terminal.
    • Color Customization
    • Linux + Windows + Mac
  • table: A table widget that displays a table in the terminal.
  • textinput: A text input widget that allows you to input text in the terminal.
  • alert: An alert widget that displays an alert in the terminal.
  • confirm: A confirm widget that displays a confirmation dialog in the terminal.
  • prompt: A prompt widget that displays a prompt in the terminal.

and more per request

Usage

Add this to your Cargo.toml:

[dependencies]
term-kit = "*"

and refer to the examples for usage.

License

Licensed under the MIT license.

Commit count: 12

cargo fmt