Cli\Screen: fix tput for rows (it's lines)
This commit is contained in:
parent
747efdd3fa
commit
94690f4fda
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue