Fix double click on an empty row not to close fzf
This commit is contained in:
parent
188c90bf25
commit
b8a9861f95
@ -544,8 +544,10 @@ func (t *Terminal) Loop() {
|
||||
// Double-click
|
||||
if my >= 2 {
|
||||
t.cy = my - 2
|
||||
if t.listIndex(t.cy) < t.merger.Length() {
|
||||
req(REQ_CLOSE)
|
||||
}
|
||||
}
|
||||
} else if me.Down {
|
||||
if my == 0 && mx >= 0 {
|
||||
// Prompt
|
||||
|
Loading…
x
Reference in New Issue
Block a user