mirror of
https://github.com/embarklabs/neo-blessed.git
synced 2025-01-11 03:25:45 +00:00
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() {
|
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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user