single-line-log
Advanced tools
Comparing version 0.4.0 to 0.4.1
@@ -10,6 +10,3 @@ var MOVE_LEFT = new Buffer('1b5b3130303044', 'hex').toString(); | ||
stream.write = function(data) { | ||
if (str && data !== str) { | ||
str = null; | ||
write.call(this, '\n'); | ||
} | ||
if (str && data !== str) str = null; | ||
write.apply(this, arguments); | ||
@@ -16,0 +13,0 @@ }; |
@@ -17,5 +17,5 @@ { | ||
], | ||
"version": "0.4.0", | ||
"version": "0.4.1", | ||
"repository": "git://github.com/freeall/single-line-log.git", | ||
"author": "Tobias Baunbæk <freeall@gmail.com>" | ||
} |
@@ -15,2 +15,4 @@ # single-line-log | ||
var log = require('single-line-log').stdout; | ||
// or pass any stream: | ||
// var log = require('single-line-log')(process.stdout); | ||
@@ -17,0 +19,0 @@ var read = 0; |
2864
56
45