Skip to main content

Module host

Module host 

Source
Expand description

BuffrHost — the host adapter that wires hjkl_engine::Editor to the buffr browser shell.

Implements hjkl_engine::Host with type Intent = BuffrEditIntent. Inherent helpers (set_clipboard_cache, drain_clipboard_outbox, drain_intents) sit alongside the trait methods so the host’s tick loop can flush queued operations on its own cadence — the engine never blocks on either clipboard or intent fan-out.

Structs§

BuffrBufferId
Buffer identifier in buffr’s tab manager. Opaque — host owns the generation; engine echoes it back in intents.
BuffrHost
Host adapter consumed by hjkl_engine::Editor once edit-mode is active.

Enums§

BuffrEditIntent
Intents the engine emits back at the host. Variants align with the SPEC Host::Intent shape buffr will set when hjkl_engine::Host ships.