Expand description
Port of fontTools.diff.color: coloring the lines of a unified diff with
ANSI escape codes.
Constants§
- ANSICOLORS
ansicolors: the ANSI escape codes by name.- CYAN_
START cyan_start.- GREEN_
START green_start.- RED_
START red_start.- RESET
reset.
Functions§
- color_
unified_ diff_ line color_unified_diff_line: the line colored according to its type in a unified diff: added lines green, removed lines red, hunk headers cyan.