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…
Reference in New Issue