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
1 changed files with 1 additions and 1 deletions

View File

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