neo-blessed/bin/tput.js
Christopher Jeffrey 58d2c383e8 bin, readme.
2013-02-24 12:53:37 -06:00

10 lines
221 B
JavaScript
Executable File

#!/usr/bin/env node
var tput = require('../lib/tput')(process.env.TERM || 'xterm')
, argv = process.argv.slice(2)
, cmd = argv.shift();
if (tput[cmd]) {
process.stdout.write(tput[cmd].apply(tput, argv) + '\n');
}