Expand description
Ready-made runtime on top of ratatui_hypertile.
Includes a plugin registry, vim-style modal input, a command palette, workspace tabs, pane-move animations, and a crossterm adapter.
Use HypertileRuntime for a single tiling view or WorkspaceRuntime
for a tabbed workspace.
use ratatui_hypertile_extras::HypertileRuntime;
let runtime = HypertileRuntime::new();
assert!(runtime.focused_pane().is_some());Structs§
- Animation
Config - Controls the small slide animation used when panes move.
- Border
Config - Border look used by the built-in fallback pane rendering.
- Hypertile
Runtime - Ready-made runtime for apps that want tiling plus plugins without building an event loop from scratch.
- Hypertile
Runtime Builder - Builder for
HypertileRuntime. - Hypertile
View StatefulWidgetwrapper forHypertileRuntime.- Mode
Indicator - Shows the current mode as a short label like
LAYOUTorINPUT. - Plugin
Context - 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.
- TabBar
Item - One entry in a
TabBar. - Workspace
Runtime - Small tab manager around
HypertileRuntime.
Enums§
- Input
Mode - Tells the runtime where keyboard input goes.
- Move
Bindings - Movement key preset for layout mode.
- Registry
Error - Returned when a plugin type is unknown or a pane’s plugin mount state is invalid.
- Runtime
Error - Errors returned by
HypertileRuntime. - Split
Behavior - Decides what a split shortcut should put in the new pane.
- Workspace
Action - Command understood by
WorkspaceRuntime.
Traits§
- Hypertile
Plugin - Trait implemented by pane-local plugins stored in
Registry.