npm_run_scripts/tui/
mod.rs

1//! TUI module for nrs.
2//!
3//! Provides the terminal user interface for interactive script selection.
4
5mod app;
6mod input;
7mod layout;
8mod theme;
9mod ui;
10pub mod widgets;
11
12pub use app::{calculate_column_width, calculate_columns, App, AppMode, ScriptRun};
13pub use input::handle_event;
14pub use layout::{
15    centered_rect, centered_rect_fixed, GridLayout, MainLayout, MIN_HEIGHT, MIN_WIDTH,
16};
17pub use theme::Theme;
18pub use ui::{render, restore_terminal, run_tui, TerminalGuard};