diff options
| author | Junegunn Choi <junegunn.c@gmail.com> | 2022-07-29 15:42:44 +0900 |
|---|---|---|
| committer | Junegunn Choi <junegunn.c@gmail.com> | 2022-07-29 15:42:44 +0900 |
| commit | 18f7230662a5b8a5381d6b88ddd94621844e22bc (patch) | |
| tree | 86e86c79c73e903c412cdc8e3c158ca4aa46f080 /src | |
| parent | 728f73528192a24e01f63fed3f4215125543c937 (diff) | |
| download | fzf-18f7230662a5b8a5381d6b88ddd94621844e22bc.tar.gz | |
Fix mouse location in --height mode
Fix #2900
Diffstat (limited to 'src')
| -rw-r--r-- | src/tui/light.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tui/light.go b/src/tui/light.go index d6eb021d..b4117bce 100644 --- a/src/tui/light.go +++ b/src/tui/light.go @@ -540,7 +540,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 + y := atoi(elems[2], -1) - 1 - r.yoffset if t < 0 || x < 0 || y < 0 { return Event{Invalid, 0, nil} } |
