Skip to main content

draw_resolved_with_mode

Function draw_resolved_with_mode 

Source
pub fn draw_resolved_with_mode(
    resolved: &ResolvedView,
    area: Rect,
    buffer: &mut Buffer,
    mode: CellWriteMode,
)
Expand description

Writes an already resolved view with the selected cell composition behavior.

CellWriteMode::Merge matches Ratatui’s native style composition. CellWriteMode::Replace resets only cells occupied by the resolved view; it does not clear the rest of area.