disable mouse testing code
This commit is contained in:
parent
a10edf116e
commit
74841cdf73
|
@ -84,16 +84,16 @@ Program.prototype.listen = function() {
|
|||
}
|
||||
});
|
||||
|
||||
this.setMouse({ normalMouse: true });
|
||||
var i = 5;
|
||||
//this.setMouse({ normalMouse: true });
|
||||
//var i = 5;
|
||||
//this.on('keypress', function(ch, key) {
|
||||
// if (key.name === 'mouse') console.log(key);
|
||||
// if (!--i) this.setMouse({ normalMouse: false });
|
||||
//});
|
||||
this.on('mouse', function(data) {
|
||||
console.log(data);
|
||||
if (!--i) this.setMouse({ normalMouse: false });
|
||||
});
|
||||
//this.on('mouse', function(data) {
|
||||
// console.log(data);
|
||||
// if (!--i) this.setMouse({ normalMouse: false });
|
||||
//});
|
||||
};
|
||||
|
||||
// XTerm mouse events
|
||||
|
|
Loading…
Reference in New Issue