Skip to main content

render

Function render 

Source
pub fn render(frame: &mut Frame<'_>, app: &App)
Expand description

Render the topmost modal centred on the frame area.

The dim backdrop is drawn first via Clear; the modal frame occupies roughly two-thirds of the screen. The caller (chat renderer) skips its own input cursor when a modal is active.