https://github.com/kdheepak/ratatui-statusbar
https://github.com/kdheepak/ratatui-statusbar
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/kdheepak/ratatui-statusbar
- Owner: kdheepak
- License: mit
- Created: 2024-04-17T04:38:09.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-02-12T12:12:42.000Z (5 months ago)
- Last Synced: 2025-03-28T01:52:37.858Z (4 months ago)
- Language: Rust
- Size: 47.9 KB
- Stars: 5
- Watchers: 1
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# ratatui-statusbar
ratatui-statusbar is a status bar library for [Ratatui](https://github.com/ratatui-org/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:
```rust
use ratatui_statusbar::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](LICENSE) for details.