Skip to main content

Crate oxi_tui

Crate oxi_tui 

Source
Expand description

oxi-tui: Terminal UI library for oxi

This crate provides ratatui-based TUI widgets, theme system, and event types for building terminal-based user interfaces.

Re-exports§

pub use fuzzy::FuzzyResult;
pub use fuzzy::fuzzy_match;
pub use fuzzy::fuzzy_rank;
pub use text::truncate_to_width;
pub use render::color_level::ColorLevel;
pub use render::color_level::adapt_color;
pub use render::color_level::detect_color_level;
pub use symbols::GlyphSet;
pub use symbols::Symbols;
pub use symbols::UnknownGlyphSet;
pub use theme::ColorScheme;
pub use theme::Spacing;
pub use theme::THEME_NAMES;
pub use theme::Theme;
pub use theme::ThemeFile;
pub use theme::ThemeManager;
pub use theme::ThemeRegistry;
pub use theme::ThemeStyles;

Modules§

cell
Color primitives for the oxi theme system.
fuzzy
Fuzzy string matching for autocomplete and filtering.
input
Input system: kitty keyboard protocol, bracketed paste, and kill ring. Input system: terminal keyboard, paste, and kill-ring handling.
keybindings
Keybinding system for the oxi TUI.
markdown_styles
Custom markdown stylesheet for oxi TUI.
overlay_anchor
Overlay anchor positioning for TUI overlays.
render
Differential rendering backend for ratatui.
symbols
Glyph set system: pluggable Unicode / ASCII / Nerd-Font symbol presets.
table_renderer
Table renderer ported from pi’s markdown.ts Supports cell wrapping, width-aware column sizing, and proper alignment.
tape
OMP-aligned append-only tape rendering engine.
text
Text rendering utilities for TUI widgets.
theme
Theme system for oxi-tui.
widgets
Widgets — ratatui-based UI components.

Enums§

Color
Color representation for TUI rendering. ANSI Color