fix xterm mouse quirk

This commit is contained in:
Christopher Jeffrey 2013-01-29 18:07:52 -06:00
parent 61b9a58368
commit 0b62eabfce
1 changed files with 2 additions and 2 deletions

View File

@ -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;