Skip to content

Commit

Permalink
Fix call to ConsoleProcessus::execute()
Browse files Browse the repository at this point in the history
  • Loading branch information
zonuexe committed Jul 11, 2022
1 parent 1ac3239 commit 0e5d28c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Readline/Hoa/ConsoleWindow.php
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ public static function getSize(): array
}

$command = $term.'tput cols && '.$term.'tput lines';
$tput = Processus::execute($command, false);
$tput = ConsoleProcessus::execute($command, false);

if (!empty($tput)) {
list($x, $y) = \explode("\n", $tput);
Expand Down

0 comments on commit 0e5d28c

Please sign in to comment.