minui/
lib.rs

1pub mod color;
2pub mod error;
3pub mod event;
4pub mod game;
5pub mod input;
6pub mod macros;
7pub mod render;
8pub mod widgets;
9pub mod window;
10
11// Core types
12pub use color::{Color, ColorPair};
13pub use error::{Error, Result};
14pub use event::{Event, MouseButton};
15pub use window::{TerminalWindow, Window};
16
17// Input handling
18pub use input::KeyboardHandler;
19
20// Widget system
21pub use widgets::{
22    Alignment, BorderChars, Container, Label, Panel, TextBlock, TextWrapMode, VerticalAlignment,
23    Widget, WidgetArea,
24};
25
26// Convenience re-exports for common patterns
27pub mod prelude {
28    pub use crate::{
29        Alignment, BorderChars, Color, ColorPair, Container, Event, KeyboardHandler, Label, Panel,
30        Result, TerminalWindow, TextBlock, VerticalAlignment, Widget, Window,
31    };
32}
33