osui 0.0.9-alpha.2

A TUI library for advanced uis
Documentation
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

Features

  • Custom rsx syntax.
  • Define and manage UI components.
  • Handle keyboard input seamlessly.
  • Create complex layouts using nested elements.
  • Customizable element sizes and styles.

Contributing

Contributions are welcome! If you have suggestions or improvements, feel free to submit a pull request or open an issue.

License

This project is licensed under the Apache License 2.0. See the LICENSE file for details.