window-size
Advanced tools
Comparing version 0.1.4 to 0.2.0
@@ -24,4 +24,4 @@ 'use strict'; | ||
} else if (process.stdout.columns && process.stdout.rows) { | ||
height = process.stdout.columns; | ||
width = process.stdout.rows; | ||
height = process.stdout.rows; | ||
width = process.stdout.columns; | ||
} | ||
@@ -28,0 +28,0 @@ } else { |
{ | ||
"name": "window-size", | ||
"description": "Reliable way to to get the height and width of the terminal/console in a node.js environment.", | ||
"version": "0.1.4", | ||
"version": "0.2.0", | ||
"homepage": "https://github.com/jonschlinkert/window-size", | ||
@@ -6,0 +6,0 @@ "author": "Jon Schlinkert (https://github.com/jonschlinkert)", |