Module tui

Module tui 

Source
Expand description

Terminal User Interface (TUI) for debtmap analysis progress.

This module provides a beautiful zen minimalist TUI using ratatui that visualizes the entire analysis pipeline with hierarchical progress, smooth animations, and rich context.

§Features

  • Full pipeline visibility: All 7 analysis stages displayed at once
  • Hierarchical progress: Active stages expand to show sub-tasks
  • Rich context: Counts, percentages, and real-time statistics
  • Smooth animations: 60 FPS rendering with progress bars and sliding arrows
  • Responsive: Adapts to terminal size gracefully
  • Zen minimalist design: Clean, spacious, with subtle visual hierarchy

§Usage

use debtmap::tui::TuiManager;

// Create and initialize TUI
let mut tui = TuiManager::new()?;

// Render a frame
tui.render()?;

// TUI cleanup happens automatically on drop

Modules§

animation
Animation helpers for smooth TUI transitions.
app
TUI application state management.
layout
Responsive layout management for different terminal sizes.
renderer
Core rendering logic for TUI components.
results
Interactive TUI for exploring analysis results.
theme
Color themes and styling for TUI components.

Structs§

TuiManager
TUI manager for rendering the analysis progress interface