mirror of
https://github.com/embarklabs/neo-blessed.git
synced 2025-01-11 11:34:20 +00:00
minor. comment.
This commit is contained in:
parent
e8fe076681
commit
1cf69f74d9
@ -25,7 +25,6 @@ var GPM_REQ_NOPASTE = 3
|
|||||||
var GPM_MAGIC = 0x47706D4C;
|
var GPM_MAGIC = 0x47706D4C;
|
||||||
var GPM_SOCKET = '/dev/gpmctl';
|
var GPM_SOCKET = '/dev/gpmctl';
|
||||||
|
|
||||||
|
|
||||||
// typedef struct Gpm_Connect {
|
// typedef struct Gpm_Connect {
|
||||||
// unsigned short eventMask, defaultMask;
|
// unsigned short eventMask, defaultMask;
|
||||||
// unsigned short minMod, maxMod;
|
// unsigned short minMod, maxMod;
|
||||||
|
@ -527,7 +527,9 @@ Program.prototype._bindMouse = function(s, buf) {
|
|||||||
key.meta = !!((mod >> 1) & 1);
|
key.meta = !!((mod >> 1) & 1);
|
||||||
key.ctrl = !!((mod >> 2) & 1);
|
key.ctrl = !!((mod >> 2) & 1);
|
||||||
|
|
||||||
// XXX Bug in urxvt after wheelup/down
|
// XXX Bug in urxvt after wheelup/down on mousemove
|
||||||
|
// NOTE: This may be different than 128/129 depending
|
||||||
|
// on mod keys.
|
||||||
if (b === 128 || b === 129) {
|
if (b === 128 || b === 129) {
|
||||||
b = 67;
|
b = 67;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user