Skip to main content

github_status_lines

Function github_status_lines 

Source
pub fn github_status_lines(app: &App, max_width: usize) -> Vec<Line<'static>>
Expand description

Body of the Issue / PR sidebar block. The block title (" Issue / PR ") is supplied by [draw_sidebar] via the surrounding Block, so this function only returns the content rows. max_width is the inner width of the Issue / PR block (chunk width minus 2 borders and the 1-char left padding applied by [render_section]); summary lines trim their variable parts so total visible width ≤ max_width.