Skip to content
Snippets Groups Projects
Commit b8a9861f authored by Junegunn Choi's avatar Junegunn Choi
Browse files

Fix double click on an empty row not to close fzf

parent 188c90bf
No related branches found
No related tags found
No related merge requests found
......@@ -544,7 +544,9 @@ func (t *Terminal) Loop() {
// Double-click
if my >= 2 {
t.cy = my - 2
req(REQ_CLOSE)
if t.listIndex(t.cy) < t.merger.Length() {
req(REQ_CLOSE)
}
}
} else if me.Down {
if my == 0 && mx >= 0 {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment