mirror of
https://github.com/junegunn/fzf.git
synced 2025-08-12 18:55:49 -07:00
Fix double click on an empty row not to close fzf
This commit is contained in:
@@ -544,8 +544,10 @@ func (t *Terminal) Loop() {
|
|||||||
// Double-click
|
// Double-click
|
||||||
if my >= 2 {
|
if my >= 2 {
|
||||||
t.cy = my - 2
|
t.cy = my - 2
|
||||||
|
if t.listIndex(t.cy) < t.merger.Length() {
|
||||||
req(REQ_CLOSE)
|
req(REQ_CLOSE)
|
||||||
}
|
}
|
||||||
|
}
|
||||||
} else if me.Down {
|
} else if me.Down {
|
||||||
if my == 0 && mx >= 0 {
|
if my == 0 && mx >= 0 {
|
||||||
// Prompt
|
// Prompt
|
||||||
|
Reference in New Issue
Block a user