Skip to content

Commit

Permalink
bin, readme.
Browse files Browse the repository at this point in the history
  • Loading branch information
chjj committed Feb 24, 2013
1 parent c9dc4f2 commit 58d2c38
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion bin/tput.js
Original file line number Diff line number Diff line change
Expand Up @@ -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');
}

0 comments on commit 58d2c38

Please sign in to comment.