summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--phpdbg_utils.c4
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;
} /* }}} */