Skip to main content

Crate ratatui_hypertile_extras

Crate ratatui_hypertile_extras 

Source
Expand description

Ready-made runtime on top of ratatui_hypertile.

Includes a plugin registry, vim-style modal input, a command palette, workspace tabs, and a crossterm adapter. Ships with specific defaults, use the core crate directly if you need full control.

use ratatui_hypertile_extras::HypertileRuntime;

let runtime = HypertileRuntime::new();
assert!(runtime.focused_pane().is_some());

Structs§

BorderConfig
Border styling for panes and the focused-pane highlight.
HypertileRuntime
Core engine, plugins, modal input, and palette.
HypertileRuntimeBuilder
Builder for HypertileRuntime.
HypertileView
StatefulWidget wrapper for HypertileRuntime.
ModeIndicator
Shows the current mode as a short label like LAYOUT or INPUT.
PluginContext
Passed to plugin mount and unmount callbacks.
Registry
Stores plugin factories and mounted plugin instances keyed by pane id.
TabBar
Widget that lists workspace tabs.
TabBarItem
One entry in a TabBar.
WorkspaceRuntime
Tabbed container that owns one HypertileRuntime per tab.

Enums§

InputMode
Layout captures keys for tiling, PluginInput forwards them to the focused plugin.
MoveBindings
Movement key preset for layout mode.
RegistryError
Returned when a plugin type is unknown or a pane’s plugin mount state is invalid.
RuntimeError
Wraps layout-state and registry errors produced by super::HypertileRuntime.
SplitBehavior
Chooses which plugin appears after a split shortcut.
WorkspaceAction
Command understood by WorkspaceRuntime.

Traits§

HypertilePlugin
Trait implemented by pane-local plugins stored in Registry.

Functions§

event_from_crossterm
keychord_from_crossterm