Skip to main content

vtcode_tui/core_tui/app/session/render/
mod.rs

1use ratatui::prelude::*;
2
3use super::{Session, agent_palette::AgentPalette, file_palette::FilePalette};
4
5mod history_picker;
6mod local_agents;
7mod palettes;
8
9pub(super) use history_picker::{
10    history_picker_panel_layout, render_history_picker, split_inline_history_picker_area,
11};
12pub(super) use local_agents::{
13    local_agents_panel_layout, render_local_agents, split_inline_local_agents_area,
14};
15pub(super) use palettes::{
16    agent_palette_panel_layout, file_palette_panel_layout, render_agent_palette,
17    render_file_palette, split_inline_agent_palette_area, split_inline_file_palette_area,
18};
19
20fn default_style(session: &Session) -> Style {
21    session.core.styles.default_style()
22}
23
24fn accent_style(session: &Session) -> Style {
25    session.core.styles.accent_style()
26}
27
28fn modal_list_highlight_style(session: &Session) -> Style {
29    session.core.styles.modal_list_highlight_style()
30}