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