Chrome result struct and shared helpers.
The %Chrome{} struct is the output of any shell's chrome builder.
Shared helpers (render_hover_popup/1, render_signature_help/1)
are used by both TUI and GUI chrome builders.
The chrome dispatcher lives in each shell's chrome module
(e.g., Shell.Traditional.Chrome).
Summary
Types
@type state() :: MingaEditor.State.t() | MingaEditor.RenderPipeline.Input.t()
Editor state or render pipeline input.
@type t() :: %MingaEditor.RenderPipeline.Chrome{ agent_panel: [MingaEditor.DisplayList.draw()], file_tree: [MingaEditor.DisplayList.draw()], minibuffer: [MingaEditor.DisplayList.draw()], minibuffer_data: MingaEditor.MinibufferData.t() | nil, modeline_click_regions: [ MingaEditor.Shell.Traditional.Modeline.click_region() ], overlays: [MingaEditor.DisplayList.Overlay.t()], regions: [binary()], separators: [MingaEditor.DisplayList.draw()], status_bar_data: MingaEditor.StatusBar.Data.t() | nil, status_bar_draws: [MingaEditor.DisplayList.draw()], tab_bar: [MingaEditor.DisplayList.draw()], tab_bar_click_regions: [ MingaEditor.Shell.Traditional.TabBarRenderer.click_region() ] }
Functions
@spec render_hover_popup(state()) :: [MingaEditor.DisplayList.draw()]
Renders the hover popup overlay draws.
@spec render_signature_help(state()) :: [MingaEditor.DisplayList.draw()]
Renders signature help overlay draws.