disable mouse testing code

This commit is contained in:
Christopher Jeffrey 2013-01-27 11:09:00 -06:00
parent a10edf116e
commit 74841cdf73
1 changed files with 6 additions and 6 deletions

View File

@ -84,16 +84,16 @@ Program.prototype.listen = function() {
} }
}); });
this.setMouse({ normalMouse: true }); //this.setMouse({ normalMouse: true });
var i = 5; //var i = 5;
//this.on('keypress', function(ch, key) { //this.on('keypress', function(ch, key) {
// if (key.name === 'mouse') console.log(key); // if (key.name === 'mouse') console.log(key);
// if (!--i) this.setMouse({ normalMouse: false }); // if (!--i) this.setMouse({ normalMouse: false });
//}); //});
this.on('mouse', function(data) { //this.on('mouse', function(data) {
console.log(data); // console.log(data);
if (!--i) this.setMouse({ normalMouse: false }); // if (!--i) this.setMouse({ normalMouse: false });
}); //});
}; };
// XTerm mouse events // XTerm mouse events