public static function getHeight()
    {
        $height = getenv('LINES');
        if ($height !== false) {
            return (int) trim($height);
        }

        static::updateDimensions();

        return static::$height;
    }