Skip to main content

render_to_buffer

Function render_to_buffer 

Source
pub fn render_to_buffer(app: &App, width: u16, height: u16) -> Buffer
Expand description

Render the entire UI into a Buffer at fixed size — used by the snapshot tests. Mirrors draw exactly but doesn’t require a Terminal. Update both in lockstep when adding new stages.