We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f060632 commit 3d5c546Copy full SHA for 3d5c546
src/Util/ShellUtil.php
@@ -120,7 +120,7 @@ public static function getScreenSize(bool $refresh = false): array|bool
120
$matches
121
)
122
) {
123
- return ($size = [$matches[2], $matches[1]]);
+ return ($size = [(int)$matches[2], (int)$matches[1]]);
124
}
125
126
// fallback to tput, which may not be updated on terminal resize
0 commit comments