Render the old line with ANSI highlighting for terminal output. Returns a string with ANSI escape codes for colored output.
(&self)
| 483 | /// |
| 484 | /// Returns a string with ANSI escape codes for colored output. |
| 485 | pub fn render_old_ansi(&self) -> String { |
| 486 | self.render_with_ansi(self.old_content, &self.old_hunks, true) |
| 487 | } |
| 488 | |
| 489 | /// Render the new line with ANSI highlighting for terminal output. |
| 490 | /// |