Show More
@@ -381,13 +381,13 b' def templatelabel(context, mapping, args' | |||
|
381 | 381 | def uisetup(ui): |
|
382 | 382 | if ui.plain(): |
|
383 | 383 | return |
|
384 | if not issubclass(ui.__class__, colorui): | |
|
385 | colorui.__bases__ = (ui.__class__,) | |
|
386 | ui.__class__ = colorui | |
|
384 | 387 | def colorcmd(orig, ui_, opts, cmd, cmdfunc): |
|
385 | 388 | mode = _modesetup(ui_, opts) |
|
386 | 389 | if mode: |
|
387 | 390 | colorui._colormode = mode |
|
388 | if not issubclass(ui_.__class__, colorui): | |
|
389 | colorui.__bases__ = (ui_.__class__,) | |
|
390 | ui_.__class__ = colorui | |
|
391 | 391 | extstyles() |
|
392 | 392 | configstyles(ui_) |
|
393 | 393 | return orig(ui_, opts, cmd, cmdfunc) |
General Comments 0
You need to be logged in to leave comments.
Login now