Skip to main content

oxi_tui/
lib.rs

1#![warn(missing_docs)]
2#![warn(clippy::unwrap_used)]
3
4//! oxi-tui: Terminal UI library for oxi
5//!
6//! This crate provides ratatui-based TUI widgets, theme system, and event types
7//! for building terminal-based user interfaces.
8
9pub mod cell;
10pub mod fuzzy;
11pub mod keybindings;
12pub mod markdown_styles;
13pub mod overlay_anchor;
14pub mod render;
15pub mod table_renderer;
16pub mod text;
17pub mod theme;
18pub mod widgets;
19
20/// Color representation for TUI rendering.
21pub use cell::Color;
22
23/// Fuzzy matching utilities for search/filter.
24pub use fuzzy::{fuzzy_match, fuzzy_rank, FuzzyResult};
25
26/// Truncate text to a terminal display width.
27pub use text::truncate_to_width;
28
29/// Theme system: color schemes, spacing, style management.
30pub use theme::{ColorScheme, Spacing, Theme, ThemeFile, ThemeManager, ThemeStyles};