# HG changeset patch # User Stanimir Stamenkov # Date 2010-05-07 20:19:37 # Node ID 24f904ae5a2699165cd3ab0f876a313cef1a265a # Parent dd543e8da87ea4bdd75cbbe91c131e157083ad75 color: add some missing background colors for win32 console diff --git a/hgext/color.py b/hgext/color.py --- a/hgext/color.py +++ b/hgext/color.py @@ -235,8 +235,11 @@ try: 'black_background': 0, 'red_background': BACKGROUND_RED, 'green_background': BACKGROUND_GREEN, + 'yellow_background': BACKGROUND_RED | BACKGROUND_GREEN, 'blue_background': BACKGROUND_BLUE, + 'purple_background': BACKGROUND_BLUE | BACKGROUND_RED, 'cyan_background': BACKGROUND_BLUE | BACKGROUND_GREEN, + 'white_background': BACKGROUND_RED | BACKGROUND_GREEN | BACKGROUND_BLUE, 'bold_background': BACKGROUND_INTENSITY, 'underline': COMMON_LVB_UNDERSCORE, # double-byte charsets only 'inverse': COMMON_LVB_REVERSE_VIDEO, # double-byte charsets only