diff options
author | kovacs.ferenc <kovacs.ferenc@ustream.tv> | 2014-06-12 23:13:50 +0200 |
---|---|---|
committer | kovacs.ferenc <kovacs.ferenc@ustream.tv> | 2014-06-14 23:48:24 +0200 |
commit | fbb7bdc21e0bd869dd25a701d49d8daaf8ffe03a (patch) | |
tree | ed9265be2a3128b051916d86effc54ec489393cf | |
parent | ab353c0a555313765dc43fd85771e6c53485bd35 (diff) | |
download | php-git-fbb7bdc21e0bd869dd25a701d49d8daaf8ffe03a.tar.gz |
change the default terminal width from 100 to 80, as that is the most common value
-rw-r--r-- | phpdbg_utils.c | 4 |
1 files 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; } /* }}} */ |