From fbb7bdc21e0bd869dd25a701d49d8daaf8ffe03a Mon Sep 17 00:00:00 2001 From: "kovacs.ferenc" Date: Thu, 12 Jun 2014 23:13:50 +0200 Subject: [PATCH] change the default terminal width from 100 to 80, as that is the most common value --- phpdbg_utils.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; } /* }}} */ -- 2.50.0