Skip to main content

Module frame_layout

Module frame_layout 

Source
Expand description

Production bridge from the grok-build-style agent view layout (oxicode_vtui::design::layout) to the live ratatui render path.

render_chrome computes the AgentViewLayout for the current frame and renders the top StatusBar (header context + footer status) and the bottom ShortcutsBar (keyboard hints). It returns the layout so the caller can place the transcript and composer into scrollback / prompt.

All keyboard hints advertised by the shortcuts bar are verified against the real key dispatch in super::main_loop::spawn_input_thread — a hint that does not match a real handler is a misleading-UI defect.