mirror of
https://github.com/embarklabs/neo-blessed.git
synced 2025-01-10 19:16:20 +00:00
fix xterm mouse quirk
This commit is contained in:
parent
61b9a58368
commit
0b62eabfce
@ -151,8 +151,8 @@ Program.prototype._bindMouse = function(s) {
|
||||
key.x = x - 32;
|
||||
key.y = y - 32;
|
||||
|
||||
if (key.x === 0) key.x = 255;
|
||||
if (key.y === 0) key.y = 255;
|
||||
if (key.x === -32) key.x = 255;
|
||||
if (key.y === -32) key.y = 255;
|
||||
|
||||
mod = b >> 3;
|
||||
key.shift = mod & 4;
|
||||
|
Loading…
x
Reference in New Issue
Block a user