diff options
author | Junegunn Choi <junegunn.c@gmail.com> | 2024-04-20 14:40:48 +0900 |
---|---|---|
committer | Junegunn Choi <junegunn.c@gmail.com> | 2024-04-20 14:42:43 +0900 |
commit | d8bfb6712d514fd6715135fd0e60df188831b566 (patch) | |
tree | fcf807a109ce1793bbd275b7d25aad99b590517f /git@git.beyermatthi.as:fzf | |
parent | f864f8b5f7ab62e81fbf9eb2ac2333c7e52bb4e4 (diff) |
Remove invalid 'result' event when using --sync option
When the search for the initial query doesn't finish immediately
fzf would trigger an invalid 'result' event for an empty query.
seq 100 | fzf --query 99 --bind result:accept --sync
# Prints 99
seq 1000000 | fzf --query 99 --bind result:accept --sync
# Should print 99, but fzf would print 1
Diffstat (limited to 'git@git.beyermatthi.as:fzf')
0 files changed, 0 insertions, 0 deletions