Show More
@@ -1056,6 +1056,7 b' ACTION_LABELS = {' | |||||
1056 |
|
1056 | |||
1057 | COLOR_HELP, COLOR_SELECTED, COLOR_OK, COLOR_WARN, COLOR_CURRENT = 1, 2, 3, 4, 5 |
|
1057 | COLOR_HELP, COLOR_SELECTED, COLOR_OK, COLOR_WARN, COLOR_CURRENT = 1, 2, 3, 4, 5 | |
1058 | COLOR_DIFF_ADD_LINE, COLOR_DIFF_DEL_LINE, COLOR_DIFF_OFFSET = 6, 7, 8 |
|
1058 | COLOR_DIFF_ADD_LINE, COLOR_DIFF_DEL_LINE, COLOR_DIFF_OFFSET = 6, 7, 8 | |
|
1059 | COLOR_ROLL, COLOR_ROLL_CURRENT, COLOR_ROLL_SELECTED = 9, 10, 11 | |||
1059 |
|
1060 | |||
1060 | E_QUIT, E_HISTEDIT = 1, 2 |
|
1061 | E_QUIT, E_HISTEDIT = 1, 2 | |
1061 | E_PAGEDOWN, E_PAGEUP, E_LINEUP, E_LINEDOWN, E_RESIZE = 3, 4, 5, 6, 7 |
|
1062 | E_PAGEDOWN, E_PAGEUP, E_LINEUP, E_LINEDOWN, E_RESIZE = 3, 4, 5, 6, 7 | |
@@ -1392,6 +1393,11 b' def _chisteditmain(repo, rules, stdscr):' | |||||
1392 | curses.init_pair(COLOR_DIFF_ADD_LINE, curses.COLOR_GREEN, -1) |
|
1393 | curses.init_pair(COLOR_DIFF_ADD_LINE, curses.COLOR_GREEN, -1) | |
1393 | curses.init_pair(COLOR_DIFF_DEL_LINE, curses.COLOR_RED, -1) |
|
1394 | curses.init_pair(COLOR_DIFF_DEL_LINE, curses.COLOR_RED, -1) | |
1394 | curses.init_pair(COLOR_DIFF_OFFSET, curses.COLOR_MAGENTA, -1) |
|
1395 | curses.init_pair(COLOR_DIFF_OFFSET, curses.COLOR_MAGENTA, -1) | |
|
1396 | curses.init_pair(COLOR_ROLL, curses.COLOR_RED, -1) | |||
|
1397 | curses.init_pair( | |||
|
1398 | COLOR_ROLL_CURRENT, curses.COLOR_BLACK, curses.COLOR_MAGENTA | |||
|
1399 | ) | |||
|
1400 | curses.init_pair(COLOR_ROLL_SELECTED, curses.COLOR_RED, curses.COLOR_WHITE) | |||
1395 |
|
1401 | |||
1396 | # don't display the cursor |
|
1402 | # don't display the cursor | |
1397 | try: |
|
1403 | try: |
General Comments 0
You need to be logged in to leave comments.
Login now