invert ANSI (7 / 27) working on Windows