use urxvt mouse protocol for vte-based terminals. fixes #89.

This commit is contained in:
Christopher Jeffrey 2015-01-31 01:51:40 -08:00
parent df73eb5e3e
commit 127ae12c1b

View File

@ -2728,7 +2728,7 @@ Program.prototype.normalBuffer = function() {
}; };
Program.prototype.enableMouse = function() { Program.prototype.enableMouse = function() {
if (this.term('rxvt-unicode')) { if (this.term('rxvt-unicode') || process.env.VTE_VERSION) {
return this.setMouse({ return this.setMouse({
urxvtMouse: true, urxvtMouse: true,
allMotion: true allMotion: true