-
Notifications
You must be signed in to change notification settings - Fork 12
Home
F1LT3R edited this page Nov 14, 2014
·
1 revision
Welcome to the axel wiki!
#!/usr/bin/env node
// Requires var keypress = require('keypress') , ansi = require('ansi') , cursor = ansi(process.stdout) , x = require('axel') ;
// var canvas = require('console-canvas')
// var ctx = canvas.getContext('2d');
// ctx.moveTo(0,0);
// ctx.lineTo(100,48);
cursor.hide();
x.clear(); x.fg(0,0,0); x.bg(0,255,0); x.brush('/'); x.line(0,0,30,30);
x.scrub(3,3,7,7);
cursor.show();
setTimeout(function(){
},3000);
// // keypress(process.stdin); // // process.stdin.on('keypress', function (ch, key) { // // console.log('got "keypress"', key); // // if (key && key.ctrl && key.name == 'c') { // // process.stdin.pause(); // // } // // }); // // process.stdin.setRawMode(true); // // process.stdin.resume();
// function endGame(){ // cursor.reset(); // clearInterval(gameLoop); // }
// function startGame(){ // cursor.hide(); // }