2024-11-30 06:47:04 +01:00
2024-12-02 23:15:19 +01:00
2025-08-02 12:58:45 -05:00
2024-09-17 13:00:38 +02:00

OSUI

osui

Crates.io Version GitHub Org's stars GitHub License

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.

use osui::prelude::*;

fn main() -> std::io::Result<()> {
    let screen = Screen::new();

    rsx! {
        "Hello, World"
    }
    .draw(&screen);

    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.

S
Description
A TUI library written in rust!
Readme Apache-2.0
811 KiB
v0.2.0
Latest
2026-01-31 20:15:20 +00:00
Languages
Rust 100%