mirror of
https://github.com/junegunn/fzf.git
synced 2025-08-09 08:32:01 -07:00
Fix mouse click offset when list is scrolled
This commit is contained in:
@@ -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()
|
||||
}
|
||||
|
Reference in New Issue
Block a user