Fix issue #25, make RGB2Term capable of handling Windows console