Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
pm2 / usr / local / lib / pm2 / node_modules / blessed / bin / tput.js
Size: Mime:
#!/usr/bin/env node

var blessed = require('../')
  , argv = process.argv.slice(2)
  , cmd = argv.shift()
  , tput;

tput = blessed.tput({
  terminal: process.env.TERM,
  termcap: !!process.env.USE_TERMCAP,
  extended: true
});

if (tput[cmd]) {
  process.stdout.write(tput[cmd].apply(tput, argv));
}