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 });
|
//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
|
||||||
|
|
Loading…
Reference in New Issue