diff --git a/lib/terminal.js b/lib/terminal.js index 80e22ea..0293c33 100644 --- a/lib/terminal.js +++ b/lib/terminal.js @@ -21,12 +21,12 @@ var sprintf = require('sprintf').sprintf; /* If true, formatting will be applied to all the text passed to the puts function. */ -var VERSION = '0.1.2'; +var VERSION = '0.1.5'; var USE_ANSI_CODES = true; -var PRINT_FUNC = util.print; -var PUTS_FUNC = util.puts; +var PRINT_FUNC = process.stdout.write; +var PUTS_FUNC = console.log; var RAINBOW_STYLES = [ [31, 39], // red diff --git a/package.json b/package.json index 9259ea2..9680a91 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "terminal", "description": "A collection of different terminal utility functions.", - "version": "0.1.4", + "version": "0.1.5", "author": "Cloudkick, Inc. http://www.cloudkick.com", "contributors": [ {