Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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 (9 months ago)
- Default Branch: main
- Last Pushed: 2024-08-06T02:00:53.000Z (5 months ago)
- Last Synced: 2024-10-07T09:05:57.948Z (3 months ago)
- Language: Rust
- Size: 41 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- 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 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](LICENSE) for details.