diff --git a/library/Icinga/Cli/Screen.php b/library/Icinga/Cli/Screen.php index 2737583c4..555595644 100644 --- a/library/Icinga/Cli/Screen.php +++ b/library/Icinga/Cli/Screen.php @@ -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;