private static function formatMessage($message, $styles)
	{
		if (empty($styles) || !self::ansiColorsSupported()) {
			return $message;
		}

		return sprintf("\x1b[%sm", implode(';', array_map('Output::getStyleCode', $styles))) . $message . "\x1b[0m";
	}