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;
12/// Responsible for rendering the UI to the terminal
13pub mod renderer;
14pub mod input;
15
16mod util;
17mod errmsg;
18
19pub use components as cpn;
20pub use callback as cbk;
21pub use trigger as trg;
22pub use selector as sel;
23pub use container as con;
24pub use renderer as ren;
25pub use input as inp;
26
27use errmsg as emg;