Crates.io | resistation-tui |
lib.rs | resistation-tui |
version | 0.1.0 |
source | src |
created_at | 2024-09-11 11:15:38.996654 |
updated_at | 2024-09-11 11:15:38.996654 |
description | A bare-bones terminal UI library for Resistation programs |
homepage | https://resistation.com |
repository | https://git.sr.ht/~ludo/resistation-tui |
max_upload_size | |
id | 1371857 |
size | 77,891 |
The resistation-tui
crate is a library designed for building Text User Interfaces (TUIs) on top of the Resistation SDK. It offers APIs for creating basic user interfaces, enabling you to quickly add interactive features to Resistation-based applications without the need for a complex TUI framework.
This crate is intentionally minimalistic, providing just enough functionality to cover common use cases such as menus, alerts, input fields, and simple forms.
All functions and components in this crate work with Resistation's console mode, and consider the screen as divided into a grid of monospaced characters (typically 8x16 pixels each).
To start using resistation-tui
in your Resistation application, add it to your Cargo.toml
dependencies and import the desired components.
[dependencies]
resistation-tui = "0.1"
The source code for this crate is released under the 3-Clause BSD license.