Crates.io | ratatui-statusbar |
lib.rs | ratatui-statusbar |
version | 0.2.1 |
source | src |
created_at | 2024-04-17 04:38:31.024023 |
updated_at | 2024-04-19 07:04:15.130575 |
description | A statusbar widget for ratatui |
homepage | |
repository | https://github.com/kdheepak/ratatui-statusbar |
max_upload_size | |
id | 1211049 |
size | 33,962 |
ratatui-statusbar is a status bar library for Ratatui crate for Rust.
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")?;
Please feel free to fork the repository, make your changes, and submit a pull request.
See LICENSE for details.