recursive/tui/ui/mod.rs
1//! Top-level rendering dispatch.
2//!
3//! The single entry point [`render`] delegates to the chat renderer.
4//! The splash screen was removed in favour of a startup banner printed
5//! to stdout before the inline TUI viewport starts — see
6//! [`crate::tui::print_startup_banner`].
7
8use ratatui::Frame;
9
10use crate::tui::app::App;
11
12pub mod chat;
13pub mod command_menu;
14pub mod diff;
15pub mod input;
16pub mod markdown;
17pub mod modal;
18pub mod spinner;
19pub mod status;
20pub mod theme;
21pub mod transcript;
22
23pub use theme::{find_theme, Theme, DARK};
24
25/// Render the current screen onto `frame`.
26pub fn render(frame: &mut Frame, app: &App) {
27 chat::render(frame, app);
28}