mirror of
https://github.com/junegunn/fzf.git
synced 2025-08-09 08:32:01 -07:00
Fix double-click result when scroll offset is positive
This commit is contained in:
@@ -697,7 +697,7 @@ func (t *Terminal) Loop() {
|
||||
} else if me.Double {
|
||||
// Double-click
|
||||
if my >= 2 {
|
||||
if t.vset(my-2) && t.cy < t.merger.Length() {
|
||||
if t.vset(t.offset+my-2) && t.cy < t.merger.Length() {
|
||||
req(reqClose)
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user