Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

In console terms columns are width and rows are height

  • Loading branch information...
commit 575f32de161f1c296f7c8c5e0e68c0974b2af101 1 parent b9307cb
@mvrhov mvrhov authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 Application.php
View
4 Application.php
@@ -801,7 +801,7 @@ protected function getTerminalWidth()
}
if (preg_match("{rows.(\d+);.columns.(\d+);}i", exec('stty -a | grep columns'), $match)) {
- return $match[1];
+ return $match[2];
}
}
@@ -817,7 +817,7 @@ protected function getTerminalHeight()
}
if (preg_match("{rows.(\d+);.columns.(\d+);}i", exec('stty -a | grep columns'), $match)) {
- return $match[2];
+ return $match[1];
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.