hjkl-engine-tui
Ratatui adapters for hjkl-engine.
Provides free conversion functions and an extension trait for
[hjkl_engine::Editor] that expose ratatui-flavoured style interning and
syntax-span installation. Extracted from hjkl-engine as part of #162
(Host-trait phase 2) so the agnostic engine crate carries no ratatui dependency.
Part of the hjkl monorepo — a vim-modal editor in Rust.
Usage
use ;
use ;
use ;
let mut editor = new;
// Install ratatui-flavoured syntax spans.
editor.install_ratatui_syntax_spans;
// Convert individual styles.
let engine_style = default;
let ratatui_style = style_to_ratatui;
Documentation
License
MIT — see LICENSE.