From: kovacs.ferenc Date: Thu, 12 Jun 2014 21:13:50 +0000 (+0200) Subject: change the default terminal width from 100 to 80, as that is the most common value X-Git-Tag: php-5.6.0RC1~1^2~21^2~1 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=fbb7bdc21e0bd869dd25a701d49d8daaf8ffe03a;p=php change the default terminal width from 100 to 80, as that is the most common value --- diff --git a/phpdbg_utils.c b/phpdbg_utils.c index c9b22a2039..c77ecba564 100644 --- a/phpdbg_utils.c +++ b/phpdbg_utils.c @@ -440,9 +440,9 @@ PHPDBG_API int phpdbg_get_terminal_width(TSRMLS_D) /* {{{ */ #elif defined(HAVE_SYS_IOCTL_H) struct winsize w; - columns = ioctl(fileno(stdout), TIOCGWINSZ, &w) == 0 ? w.ws_col : 100; + columns = ioctl(fileno(stdout), TIOCGWINSZ, &w) == 0 ? w.ws_col : 80; #else - columns = 100; + columns = 80; #endif return columns; } /* }}} */