2015-05-14 04:00:55 +00:00
|
|
|
var blessed = require('../');
|
|
|
|
|
|
|
|
var screen = blessed.screen({
|
|
|
|
dump: __dirname + '/logs/play.log',
|
2015-07-22 02:23:57 +00:00
|
|
|
smartCSR: true,
|
|
|
|
warnings: true
|
2015-05-14 04:00:55 +00:00
|
|
|
});
|
|
|
|
|
|
|
|
var frames = require(__dirname + '/frames.json');
|
|
|
|
|
|
|
|
setInterval(function() {
|
|
|
|
if (!frames.length) return process.exit(0);
|
|
|
|
process.stdout.write(frames.shift());
|
|
|
|
}, 100);
|