joyent/libuv — pull request #1243 by Qix- (2014-04-21 03:44:27+00:00)
Title: windows: add invert ANSI (7 / 27) emulation

Since `COMMON_LVB_REVERSE_VIDEO` is not supported on any modern windows system, it is used as a flag and emulated through the bitwise flipping of fg/bg to create the inverse (reverse video) graphics in the console.

Uses the standard ANSI codes `[7;` and `[27;` for negative/positive.