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, 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§

AnimationConfig
Controls the small slide animation used when panes move.
BorderConfig
Border look used by the built-in fallback pane rendering.
HypertileRuntime
Ready-made runtime for apps that want tiling plus plugins without building an event loop from scratch.
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
Small tab manager around HypertileRuntime.

Enums§

InputMode
Tells the runtime where keyboard input goes.
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
Errors returned by HypertileRuntime.
SplitBehavior
Decides what a split shortcut should put in the new pane.
WorkspaceAction
Command understood by WorkspaceRuntime.

Traits§

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

Functions§

event_from_crossterm
keychord_from_crossterm