From f231ddddafa005576e90f9325d31eebc9ea690bf Mon Sep 17 00:00:00 2001 From: Felipe Pena Date: Sun, 18 Oct 2015 12:08:04 -0200 Subject: - Implemented output paging --- sapi/phpdbg/phpdbg.c | 1 + 1 file changed, 1 insertion(+) (limited to 'sapi/phpdbg/phpdbg.c') diff --git a/sapi/phpdbg/phpdbg.c b/sapi/phpdbg/phpdbg.c index 7a96f0ba09..a82292ac5a 100644 --- a/sapi/phpdbg/phpdbg.c +++ b/sapi/phpdbg/phpdbg.c @@ -81,6 +81,7 @@ static inline void php_phpdbg_globals_ctor(zend_phpdbg_globals *pg) /* {{{ */ pg->colors[1] = NULL; pg->colors[2] = NULL; + pg->lines = phpdbg_get_terminal_height(); pg->exec = NULL; pg->exec_len = 0; pg->buffer = NULL; -- cgit v1.2.1