diff --git a/src/ncc/Utilities/Functions.php b/src/ncc/Utilities/Functions.php index a4ba99d..94a538f 100644 --- a/src/ncc/Utilities/Functions.php +++ b/src/ncc/Utilities/Functions.php @@ -531,27 +531,6 @@ } - /** - * Determines if the current process is running in TTY mode - * - * @return bool - */ - public static function isTtyMode(): bool - { - if(!is_null(RuntimeCache::get('posix_isatty'))) - { - return RuntimeCache::get('posix_isatty'); - } - - if(!function_exists('posix_isatty')) - { - return false; - } - - RuntimeCache::set('posix_isatty', posix_isatty(STDOUT)); - return (bool)RuntimeCache::get('posix_isatty'); - } - /** * Cleans an array by removing empty values *