Permalink
Browse files

Update node-cli.js

  • Loading branch information...
1 parent 1a18a9b commit bb8e78f2c997ff08dd845b32d3eac29252ea6c50 @xkxx xkxx committed Oct 18, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 node-cli.js
View
@@ -49,7 +49,7 @@ function NodeCli () {
* Echo color code, bold is optional
*/
this.bgcolor = function(color) {
- this.write('\x1B[0;m39');
+ this.write('\x1B[0;' + this.bgcolors[color] + 'm');
return(this);
};

0 comments on commit bb8e78f

Please sign in to comment.