diff options
author | Felipe Pena <felipensp@gmail.com> | 2015-10-18 12:08:04 -0200 |
---|---|---|
committer | Felipe Pena <felipensp@gmail.com> | 2015-10-18 12:08:04 -0200 |
commit | f231ddddafa005576e90f9325d31eebc9ea690bf (patch) | |
tree | 38452a7e230501a6e01fcd3206355005e9745343 /sapi/phpdbg/phpdbg.c | |
parent | daddb7a832309bb26858d3c069ecf29c0994dbd7 (diff) | |
download | php-git-f231ddddafa005576e90f9325d31eebc9ea690bf.tar.gz |
- Implemented output paging
Diffstat (limited to 'sapi/phpdbg/phpdbg.c')
-rw-r--r-- | sapi/phpdbg/phpdbg.c | 1 |
1 files changed, 1 insertions, 0 deletions
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; |