Show More
@@ -275,8 +275,8 b' def _modesetup(ui, coloropt):' | |||
|
275 | 275 | |
|
276 | 276 | def modewarn(): |
|
277 | 277 | # only warn if color.mode was explicitly set and we're in |
|
278 |
# a |
|
|
279 |
if mode == realmode and ui. |
|
|
278 | # a formatted terminal | |
|
279 | if mode == realmode and ui.formatted(): | |
|
280 | 280 | ui.warn(_('warning: failed to set color mode to %s\n') % mode) |
|
281 | 281 | |
|
282 | 282 | if realmode == 'win32': |
General Comments 0
You need to be logged in to leave comments.
Login now