Skip to main content

render_toasts

Function render_toasts 

Source
pub fn render_toasts(queue: &ToastQueue, area: Rect, buf: &mut Buffer)
Expand description

Render the queue’s visible toasts into area.

Each toast occupies one row; the newest entry is drawn at the top of the area, older entries below. Rows past area.height are skipped silently.