use urxvt mouse protocol for vte-based terminals. fixes #89.
This commit is contained in:
parent
df73eb5e3e
commit
127ae12c1b
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue