feather_tui/lib.rs
1//! Feather-Tui is a simple terminal UI library designed to provide building blocks for text-based user interfaces. It started life as a small C library in my school management system project, aiming to offer an easy-to-use UI framework for terminal applications. Now, I’m rewriting it in Rust to learn the language and (hopefully) improve both performance and maintainability.
2
3/// Core building blocks for constructing user interfaces.
4pub mod components;
5/// A generic callback handler for executing functions with stored arguments.
6pub mod callback;
7/// A generic trigger handler for evaluating conditions based on stored arguments.
8pub mod trigger;
9pub mod selector;
10/// acts as a layout manager for the UI elements
11pub mod container;
12pub mod renderer;
13pub mod input;
14
15mod util;
16mod errmsg;
17
18pub use components as cpn;
19pub use callback as cbk;
20pub use trigger as trg;
21pub use selector as sel;
22pub use container as con;
23pub use renderer as ren;
24pub use input as inp;
25
26use errmsg as emg;