Show More
@@ -126,11 +126,9 b' def _terminfosetup(ui):' | |||
|
126 | 126 | if mode not in ('auto', 'terminfo'): |
|
127 | 127 | return |
|
128 | 128 | |
|
129 |
_terminfo_params.update( |
|
|
130 | (key[6:], (False, int(val))) | |
|
129 | _terminfo_params.update((key[6:], (False, int(val))) | |
|
131 | 130 | for key, val in ui.configitems('color') |
|
132 | if key.startswith('color.') | |
|
133 | ))) | |
|
131 | if key.startswith('color.')) | |
|
134 | 132 | |
|
135 | 133 | try: |
|
136 | 134 | curses.setupterm() |
@@ -324,7 +322,7 b' def uisetup(ui):' | |||
|
324 | 322 | _terminfo_params = {} |
|
325 | 323 | elif mode == 'terminfo': |
|
326 | 324 | _terminfosetup(ui) |
|
327 | elif mode not in ('ansi', 'terminfo'): | |
|
325 | else: | |
|
328 | 326 | return |
|
329 | 327 | def colorcmd(orig, ui_, opts, cmd, cmdfunc): |
|
330 | 328 | coloropt = opts['color'] |
General Comments 0
You need to be logged in to leave comments.
Login now