mirror of
https://github.com/wavetermdev/xterm.js.git
synced 2026-08-05 13:43:48 -07:00
Merge pull request #399 from bottleofwater/patch-1
Don't apply the 32 delta when in sgr mode - fix #394
This commit is contained in:
+1
-1
@@ -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
|
||||
+ ';'
|
||||
|
||||
Reference in New Issue
Block a user