changeset 11118:24f904ae5a26

color: add some missing background colors for win32 console
author Stanimir Stamenkov <s7an10@netscape.net>
date Fri, 07 May 2010 15:19:37 -0500
parents dd543e8da87e
children 2e270443a2c6
files hgext/color.py
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/hgext/color.py	Fri May 07 14:19:14 2010 -0500
+++ b/hgext/color.py	Fri May 07 15:19:37 2010 -0500
@@ -235,8 +235,11 @@
         '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