render_diff_content

Function render_diff_content 

Source
pub fn render_diff_content(
    diff: &CodeDiff,
    area: Rect,
    buf: &mut Buffer,
    show_border: bool,
)
Expand description

Renders the diff content panel with border.

ยงArguments

  • diff - The CodeDiff instance
  • area - The area to render the diff in
  • buf - The buffer to render to
  • show_border - Whether to show a border around the diff