Comparing version 1.0.6 to 1.0.7
@@ -19,2 +19,5 @@ var Terminal = (function () { | ||
var columns = this.stdout.columns; | ||
if (process.platform == "win32") { | ||
columns--; | ||
} | ||
var lineCount = 0; | ||
@@ -710,5 +713,7 @@ for (var _i = 0, lines_1 = lines; _i < lines_1.length; _i++) { | ||
var length = parseInt(response.headers['content-length'], 10); | ||
var complete = process.platform == "win32" ? "#" : '█'; | ||
var incomplete = process.platform == "win32" ? "=" : '░'; | ||
var bar = new ProgressBar(':bar [ :percent | :current/:total | :etas ] ', { | ||
complete: '█', | ||
incomplete: '░', | ||
complete: complete, | ||
incomplete: incomplete, | ||
width: 80, | ||
@@ -785,3 +790,3 @@ total: length, | ||
var path = require("path"); | ||
var VERSION = "1.0.6"; | ||
var VERSION = "1.0.7"; | ||
function run(args) { | ||
@@ -788,0 +793,0 @@ var commandOptions = CommandLine.parse(args); |
{ | ||
"name": "depsync", | ||
"version": "1.0.6", | ||
"version": "1.0.7", | ||
"author": "Dom Chen", | ||
@@ -5,0 +5,0 @@ "homepage": "http://www.idom.me/", |
37410
908