diff --git a/src/mako/cli/output/Cursor.php b/src/mako/cli/output/Cursor.php index f5721112f..af3fb39f7 100644 --- a/src/mako/cli/output/Cursor.php +++ b/src/mako/cli/output/Cursor.php @@ -167,10 +167,10 @@ public function getPosition(): ?array exec("stty {$settings}"); - sscanf($response, "\033[%d;%dR", $row, $col); + sscanf($response, "\033[%d;%dR", $row, $column); - if (isset($row, $col)) { - return ['row' => $row, 'column' => $col]; + if (isset($row, $column)) { + return ['row' => $row, 'column' => $column]; } return null;