mirror of
https://github.com/Llewellynvdm/fzf.git
synced 2024-11-22 21:05:09 +00:00
parent
728f735281
commit
18f7230662
@ -540,7 +540,7 @@ func (r *LightRenderer) mouseSequence(sz *int) Event {
|
|||||||
|
|
||||||
t := atoi(elems[0], -1)
|
t := atoi(elems[0], -1)
|
||||||
x := atoi(elems[1], -1) - 1
|
x := atoi(elems[1], -1) - 1
|
||||||
y := atoi(elems[2], -1) - 1
|
y := atoi(elems[2], -1) - 1 - r.yoffset
|
||||||
if t < 0 || x < 0 || y < 0 {
|
if t < 0 || x < 0 || y < 0 {
|
||||||
return Event{Invalid, 0, nil}
|
return Event{Invalid, 0, nil}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user