Show More
@@ -615,7 +615,8 b' def highlightdiff(line, color):' | |||||
615 | if not color: |
|
615 | if not color: | |
616 | return line |
|
616 | return line | |
617 | assert pygmentspresent |
|
617 | assert pygmentspresent | |
618 |
return pygments.highlight(line, difflexer, |
|
618 | return pygments.highlight(line.decode('latin1'), difflexer, | |
|
619 | terminal256formatter).encode('latin1') | |||
619 |
|
620 | |||
620 | def highlightmsg(msg, color): |
|
621 | def highlightmsg(msg, color): | |
621 | if not color: |
|
622 | if not color: |
General Comments 0
You need to be logged in to leave comments.
Login now