pub fn render_line(
line: Option<&DiffLine>,
config: &DiffConfig,
theme: &AppTheme,
x: u16,
y: u16,
width: u16,
buf: &mut Buffer,
is_left: bool,
)Expand description
Renders a single diff line content.
ยงArguments
line- The diff line to render (None for empty filler)config- Display configurationtheme- Application theme for colorsx- Starting x position (after line number)y- Y positionwidth- Available width for contentbuf- The buffer to render tois_left- Whether this is the left (old) or right (new) panel