Show More
@@ -174,9 +174,10 b' def _modesetup(ui, opts):' | |||||
174 | realmode = 'terminfo' |
|
174 | realmode = 'terminfo' | |
175 |
|
175 | |||
176 | if realmode == 'win32': |
|
176 | if realmode == 'win32': | |
177 |
if not w32effects |
|
177 | if not w32effects: | |
178 | # only warn if color.mode is explicitly set to win32 |
|
178 | if mode == 'win32': | |
179 | ui.warn(_('warning: failed to set color mode to %s\n') % mode) |
|
179 | # only warn if color.mode is explicitly set to win32 | |
|
180 | ui.warn(_('warning: failed to set color mode to %s\n') % mode) | |||
180 | return None |
|
181 | return None | |
181 | _effects.update(w32effects) |
|
182 | _effects.update(w32effects) | |
182 | elif realmode == 'ansi': |
|
183 | elif realmode == 'ansi': |
General Comments 0
You need to be logged in to leave comments.
Login now