mirror of
https://git.proxmox.com/git/mirror_xterm.js
synced 2025-10-27 12:34:11 +00:00
Don't apply the 32 delta when in sgr mode - fix #394
This commit is contained in:
parent
60a59be4d3
commit
a75bafc4ba
@ -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
|
||||
+ ';'
|
||||
|
||||
Loading…
Reference in New Issue
Block a user