Fix double click on an empty row not to close fzf

This commit is contained in:
Junegunn Choi 2015-01-10 12:26:11 +09:00
parent 188c90bf25
commit b8a9861f95

View File

@ -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 {