ratatui-statusbar

Crates.ioratatui-statusbar
lib.rsratatui-statusbar
version0.2.1
sourcesrc
created_at2024-04-17 04:38:31.024023
updated_at2024-04-19 07:04:15.130575
descriptionA statusbar widget for ratatui
homepage
repositoryhttps://github.com/kdheepak/ratatui-statusbar
max_upload_size
id1211049
size33,962
Dheepak Krishnamurthy (kdheepak)

documentation

https://docs.rs/ratatui-statusbar

README

ratatui-statusbar

ratatui-statusbar is a status bar library for Ratatui crate for Rust.

Getting Started

To get started, first add it to your Cargo.toml dependencies:

cargo add ratatui-statusbar

Creating a new status bar is simple. Here's a quick example:

use status_bar::StatusBar;

let status_bar = StatusBar::new(3)
    .section(0, "Left content")?;
    .section(1, "Center content")?;
    .section(2, "Right content")?;

Contributing

Please feel free to fork the repository, make your changes, and submit a pull request.

License

See LICENSE for details.

Commit count: 21

cargo fmt