bin, readme.

This commit is contained in:
Christopher Jeffrey 2013-02-24 12:53:37 -06:00
parent c9dc4f2d98
commit 58d2c383e8
2 changed files with 2 additions and 1 deletions

View File

@ -26,6 +26,7 @@ To play around with it on the command line, it works just like tput:
``` bash
$ tput.js setaf 2
$ tput.js sgr0
$ echo "$(tput.js setaf 2)hello world$(tput.js sgr0)"
```
The higher level functionality is exposed in the main `blessed` module:

View File

@ -5,5 +5,5 @@ var tput = require('../lib/tput')(process.env.TERM || 'xterm')
, cmd = argv.shift();
if (tput[cmd]) {
process.stdout.write(tput[cmd].apply(tput, argv));
process.stdout.write(tput[cmd].apply(tput, argv) + '\n');
}