Crate ricecoder_tui

Crate ricecoder_tui 

Source
Expand description

RiceCoder Terminal User Interface (TUI)

This crate provides a beautiful, responsive terminal user interface for RiceCoder with support for chat interface, code diffing, theming, and interactive components.

Re-exports§

pub use accessibility::AccessibilityConfig;
pub use accessibility::AnimationConfig;
pub use accessibility::Announcement;
pub use accessibility::AnnouncementPriority;
pub use accessibility::ElementType;
pub use accessibility::FocusIndicatorStyle;
pub use accessibility::FocusManager;
pub use accessibility::KeyboardNavigationManager;
pub use accessibility::ScreenReaderAnnouncer;
pub use accessibility::StateChangeEvent;
pub use accessibility::TextAlternative;
pub use app::App;
pub use app::AppMode;
pub use clipboard::ClipboardError;
pub use clipboard::ClipboardManager;
pub use clipboard::CopyFeedback;
pub use clipboard::CopyOperation;
pub use command_blocks::Command;
pub use command_blocks::CommandBlock;
pub use command_blocks::CommandBlocksWidget;
pub use command_blocks::CommandStatus;
pub use components::DialogType;
pub use components::DialogWidget;
pub use components::ListWidget;
pub use components::MenuWidget;
pub use components::ModeIndicator;
pub use components::ModeSelectionMenu;
pub use components::SplitViewWidget;
pub use components::TabWidget;
pub use config::TuiConfig;
pub use diff::DiffHunk;
pub use diff::DiffLine;
pub use diff::DiffLineType;
pub use diff::DiffViewType;
pub use diff::DiffWidget;
pub use image_integration::ImageIntegration;
pub use image_widget::ImageWidget;
pub use input::ChatInputWidget;
pub use input::InputAnalyzer;
pub use input::Intent;
pub use integration::LayoutCoordinator;
pub use integration::LayoutInfo;
pub use integration::StateSynchronizer;
pub use integration::WidgetContainer;
pub use integration::WidgetIntegration;
pub use layout::Constraint;
pub use layout::Layout;
pub use layout::Rect;
pub use markdown::MarkdownElement;
pub use markdown::MarkdownParser;
pub use performance::DiffRenderOptimizer;
pub use performance::LazyLoadConfig;
pub use performance::LazyMessageHistory;
pub use performance::ThemeSwitchPerformance;
pub use prompt::ContextIndicators;
pub use prompt::PromptConfig;
pub use prompt::PromptWidget;
pub use prompt_context::PromptContext;
pub use provider_integration::ProviderIntegration;
pub use session_integration::SessionIntegration;
pub use session_manager::SessionData;
pub use session_manager::SessionManager;
pub use sessions::Session;
pub use sessions::SessionDisplayMode;
pub use sessions::SessionStatus;
pub use sessions::SessionWidget;
pub use style::ColorSupport;
pub use style::Theme;
pub use theme::ThemeManager;
pub use theme_loader::ThemeLoader;
pub use theme_loader::ThemeYaml;
pub use theme_registry::ThemeRegistry;
pub use theme_reset::ThemeResetManager;
pub use widgets::ChatWidget;
pub use widgets::Message;
pub use widgets::MessageAuthor;

Modules§

accessibility
Accessibility features for the TUI
app
Application state and main TUI application
clipboard
Clipboard operations for copying content
command_blocks
Command blocks widget for grouped command display
components
Interactive UI components
config
Configuration for the TUI
diff
Code diffing widget
event
Event handling for the TUI
image_integration
Image integration for ricecoder-tui
image_widget
Image widget for displaying images in the terminal UI
input
Input handling for the TUI
integration
Widget integration and coordination
layout
Terminal layout management
markdown
Markdown rendering for the TUI
performance
Performance optimization utilities for the TUI
prompt
Prompt widget for displaying the command prompt
prompt_context
Prompt context integration with images
provider_integration
Provider integration for the TUI
render
Rendering logic for the TUI
session_integration
Integration between ricecoder-sessions and TUI session widgets
session_manager
Session management operations
sessions
Session management and display widgets
style
Styling and theming for the TUI
theme
Theme management for the TUI
theme_loader
Custom theme loading from YAML files
theme_registry
Theme registry for managing built-in and custom themes
theme_reset
Theme reset manager for resetting themes to defaults
widgets
UI widgets for the TUI