#tui #ui #alert #text #input #interface #resistation

yanked resistation-tui

A bare-bones terminal UI library for Resistation programs

1 unstable release

0.1.0 Sep 11, 2024

#28 in #alert

BSD-3-Clause

77KB
1.5K SLoC

Resistation TUI

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).

Getting Started

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"

License

The source code for this crate is released under the 3-Clause BSD license.

Dependencies

~110KB