Skip to main content

Module render

Module render 

Source
Expand description

Ratatui chrome rendering for the compositor.

draw is the unified renderer used by both the native event loop (terminal.draw(|f| render::draw(f, compositor))) and the WASM path (Phase W2, rendering into AnsiBackend<Vec<u8>>).

Layout:

┌─ status bar (1 row) ─────────────────────────────┐
╭─ 🔒 Name ──────────────────────────────────────╮  ← pane block top border (title)
│  pane content (Min rows) — VT cells or background │
╰───────────────────────────────────────────────────╯  ← pane block bottom border
└─ [Ctrl-Space] window1 │ window2 (1 row) ─────────┘

Functions§

draw
draw_vt_cells
Render an avt::Vt buffer into area.