osui 0.0.5

A rsx TUI library
docs.rs failed to build osui-0.0.5
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build: osui-0.0.3

Features

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

Getting Started

To use OSUI in your project, include it in your Cargo.toml:

[dependencies]
osui = "0.2"  # Replace with the latest version

Example Usage

Here’s a simple example of how to create a basic UI with OSUI:

use osui::prelude::*;

fn main() {
    run(&mut rsx! {
        text { "Hello, World!" }
    });
}

How it works

Credit to priz.js (discord) for the idea of using C for multithreading

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.