Constructs an integer that can be used for getting the desired color in windows' terminals (cmd.
exe). As there is no mean to underline, we simply ignore this attribute.
This function returns 0 on non-windows machines.
colorinfo |
the color info |
an integer containing the color definition |