feather_tui/
lib.rs

1/// ! Feather-Tui is a simple terminal UI library designed to provide building
2/// blocks for text-based user interfaces. It started life as a small C library
3/// in my school management system project, aiming to offer an easy-to-use UI
4/// framework for terminal applications. Now, I’m rewriting it in Rust to learn
5/// the language and (hopefully) improve both performance and maintainability.
6
7/// Core building blocks for constructing user interfaces.
8pub mod components;
9/// A generic callback handler for executing functions with stored arguments.
10pub mod callback;
11/// A generic trigger handler for evaluating conditions based on stored arguments.
12pub mod trigger;
13/// Used within a `Container` to navigate and select `Option`. 
14pub mod selector;
15/// Acts as a layout manager for the UI elements.
16pub mod container;
17/// Responsible for rendering the UI to the terminal.
18pub mod renderer;
19/// Handles user input, non-blocking key events, and key code conversions with crossterm.
20pub mod input;
21/// Provides custom error types and a result type alias for error handling in `Feather-TUI`.
22pub mod error;
23
24mod     util;
25
26pub use components as cpn;
27pub use callback   as cbk;
28pub use trigger    as trg;
29pub use selector   as slc;
30pub use container  as con;
31pub use renderer   as ren;
32pub use input      as inp;
33pub use error      as err;