Skip to main content

ratatui_hypertile_extras/
lib.rs

1//! Ready-made runtime on top of [`ratatui_hypertile`].
2//!
3//! Includes a plugin registry, vim-style modal input, a command palette,
4//! workspace tabs, and a crossterm adapter. Ships with specific defaults,
5//! use the core crate directly if you need full control.
6//!
7//! ```
8//! use ratatui_hypertile_extras::HypertileRuntime;
9//!
10//! let runtime = HypertileRuntime::new();
11//! assert!(runtime.focused_pane().is_some());
12//! ```
13
14mod registry;
15mod runtime;
16
17pub use registry::{HypertilePlugin, PluginContext, Registry, RegistryError};
18pub use runtime::{
19    BorderConfig, HypertileRuntime, HypertileRuntimeBuilder, HypertileView, InputMode,
20    ModeIndicator, MoveBindings, RuntimeError, SplitBehavior, TabBar, TabBarItem, WorkspaceAction,
21    WorkspaceRuntime,
22};
23
24#[cfg(feature = "crossterm")]
25pub use runtime::{event_from_crossterm, keychord_from_crossterm};