Show More
@@ -1427,11 +1427,11 b' pgup/K: move patch up, pgdn/J: move patc' | |||
|
1427 | 1427 | for y in range(0, length): |
|
1428 | 1428 | line = output[y] |
|
1429 | 1429 | if diffcolors: |
|
1430 |
if line |
|
|
1430 | if line.startswith(b'+'): | |
|
1431 | 1431 | win.addstr( |
|
1432 | 1432 | y, 0, line, curses.color_pair(COLOR_DIFF_ADD_LINE) |
|
1433 | 1433 | ) |
|
1434 |
elif line |
|
|
1434 | elif line.startswith(b'-'): | |
|
1435 | 1435 | win.addstr( |
|
1436 | 1436 | y, 0, line, curses.color_pair(COLOR_DIFF_DEL_LINE) |
|
1437 | 1437 | ) |
General Comments 0
You need to be logged in to leave comments.
Login now