Cli\Screen: fix tput for rows (it's lines)

This commit is contained in:
Thomas Gelf 2015-11-16 18:50:48 +01:00
parent 747efdd3fa
commit 94690f4fda
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ class Screen
$rows = (int) getenv('ROWS');
if (! $rows) {
// stty -a ?
$rows = (int) exec('tput rows');
$rows = (int) exec('tput lines');
}
if (! $rows) {
$rows = 25;