We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e166719 commit 0e60324Copy full SHA for 0e60324
1 file changed
lib/cli/Shell.php
@@ -30,7 +30,7 @@ static public function columns() {
30
if ( null === $columns ) {
31
if (self::is_windows() ) {
32
$output = array();
33
- exec('mode', $output);
+ exec('mode CON', $output);
34
foreach ($output as $line) {
35
if (preg_match('/Columns:( )*([0-9]+)/', $line, $matches)) {
36
$columns = (int)$matches[2];
0 commit comments