joyent/libuv — pull request #294 by Benvie (2012-01-21 17:26:26+00:00)
Title: Fixes inability to turn on background-bright in Windows

win/tty.c is has all the code to allow bright backgrounds but simply has no ansi escape mappings that set bg_bright on. This patch adds the following escape sequence mappings:

2 - foreground and background bright off
5 - background bright on (follows Microsoft's ansi.sys mapping of blink -> bgbright)
25 - background bright off (blink off)
90-97 - bright foreground color (aixterm)
100-107 - bright background color (aixterm)