diff --git a/src/xterm.js b/src/xterm.js index 7f1bf63..dc1c733 100644 --- a/src/xterm.js +++ b/src/xterm.js @@ -785,7 +785,7 @@ Terminal.prototype.bindMouse = function() { pos.x -= 32; pos.y -= 32; self.send('\x1b[<' - + ((button & 3) === 3 ? button & ~3 : button) + + (((button & 3) === 3 ? button & ~3 : button) - 32) + ';' + pos.x + ';'