mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-23 13:54:26 +02:00
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…
x
Reference in New Issue
Block a user