Check for CI environment automatically

Should be able to check for terminal properties to see if ascii codes are supported.