neo-blessed/example/tput.js

18 lines
498 B
JavaScript
Raw Normal View History

2013-02-15 17:42:52 +00:00
var Tput = require('../lib/tput');
2013-02-20 00:35:26 +00:00
var tput = new Tput(process.argv[2] || 'xterm', true);
2013-02-15 17:42:52 +00:00
2013-02-20 00:35:26 +00:00
//tput.colors();
2013-02-16 23:54:20 +00:00
2013-02-20 00:35:26 +00:00
//console.log(tput.info);
//tput.compile();
2013-02-18 20:43:53 +00:00
2013-02-17 19:25:58 +00:00
//tput._compile('%?%p9%t\u001b(0%e\u001b(B%;\u001b[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;%?%p7%t;8%;m');
2013-02-18 20:43:53 +00:00
//console.log(tput.methods.set_attributes([34]) + 'foo' + tput.methods.set_attributes([0]));
2013-02-20 13:47:11 +00:00
//console.log(tput.set_attributes(34) + 'foo' + tput.set_attributes(0));
2013-02-22 21:51:13 +00:00
//tput.readTermCap();
//console.log(tput.termcap.terms);