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