mirror of
https://github.com/Llewellynvdm/fzf.git
synced 2024-12-23 11:29:01 +00:00
Fix mouse click offset when list is scrolled
This commit is contained in:
parent
8e5ecf6b38
commit
dee0909d2b
@ -526,7 +526,7 @@ func (t *Terminal) Loop() {
|
||||
req(REQ_PROMPT)
|
||||
} else if my >= 2 {
|
||||
// List
|
||||
t.cy = my - 2
|
||||
t.cy = t.offset + my - 2
|
||||
if me.Mod {
|
||||
toggle()
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user