summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJunegunn Choi <junegunn.c@gmail.com>2022-11-18 20:31:12 +0900
committerJunegunn Choi <junegunn.c@gmail.com>2022-11-18 20:32:59 +0900
commita38b63be1888949197c45e2d587d82a6c54ee57a (patch)
tree77632d2e6d1b3c369805b4a8509a61eb1b3438a3 /src
parent1bebd6f4f5fac7c98ad01696fd819c3c82e41ec6 (diff)
downloadfzf-a38b63be1888949197c45e2d587d82a6c54ee57a.tar.gz
Fix mouse event above fzf finder
Fix #2949
Diffstat (limited to 'src')
-rw-r--r--src/tui/light.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tui/light.go b/src/tui/light.go
index 5ebd5933..4225fc52 100644
--- a/src/tui/light.go
+++ b/src/tui/light.go
@@ -545,7 +545,7 @@ func (r *LightRenderer) mouseSequence(sz *int) Event {
t := atoi(elems[0], -1)
x := atoi(elems[1], -1) - 1
y := atoi(elems[2], -1) - 1 - r.yoffset
- if t < 0 || x < 0 || y < 0 {
+ if t < 0 || x < 0 {
return Event{Invalid, 0, nil}
}
*sz += end + 1