Simple state management

This commit is contained in:
2025-07-26 00:26:30 +02:00
parent 3d995671cd
commit 0878cad01c
4 changed files with 94 additions and 37 deletions
+14
View File
@@ -20,6 +20,20 @@
<b>OSUI is a customizable terminal user interface (TUI) library written in Rust. It provides a set of components and rsx to build interactive command-line interfaces with ease.</b>
</p>
```rust
use osui::{style::Transform, Screen};
fn main() -> std::io::Result<()> {
let screen = Screen::new();
screen
.draw(format!("Hello, World"))
.component(Transform::center());
screen.run()
}
```
## [Documentation](https://osui.netlify.app/docs)
## Features