Skip to main content

build_task_lines

Function build_task_lines 

Source
pub fn build_task_lines(
    store: &TaskStore,
    collapsed: bool,
    attached: bool,
    width: u16,
    theme: &Theme,
) -> Vec<Line<'static>>
Expand description

Build the checklist rows for the reserved zone. collapsed is the Ctrl+T one-line form. attached means the status zone renders above, so the first row carries the connector; detached rows sit flush-left. width is the zone’s inner width in cells.