Show More
@@ -1238,6 +1238,11 def patchcontents(state): | |||||
1238 | return displayer.hunk[rule.ctx.rev()].splitlines() |
|
1238 | return displayer.hunk[rule.ctx.rev()].splitlines() | |
1239 |
|
1239 | |||
1240 | def _chisteditmain(repo, rules, stdscr): |
|
1240 | def _chisteditmain(repo, rules, stdscr): | |
|
1241 | try: | |||
|
1242 | curses.use_default_colors() | |||
|
1243 | except curses.error: | |||
|
1244 | pass | |||
|
1245 | ||||
1241 | # initialize color pattern |
|
1246 | # initialize color pattern | |
1242 | curses.init_pair(COLOR_HELP, curses.COLOR_WHITE, curses.COLOR_BLUE) |
|
1247 | curses.init_pair(COLOR_HELP, curses.COLOR_WHITE, curses.COLOR_BLUE) | |
1243 | curses.init_pair(COLOR_SELECTED, curses.COLOR_BLACK, curses.COLOR_WHITE) |
|
1248 | curses.init_pair(COLOR_SELECTED, curses.COLOR_BLACK, curses.COLOR_WHITE) |
General Comments 0
You need to be logged in to leave comments.
Login now