Run bg-transform callbacks while wait/track-blocked

Background transform results are unrelated to the block; dropping them
would silently lose completed work. Applies both the dedicated
bg-transform-* setters and actions parsed from generic bg-transform
output (inBgCallback). Searches initiated by a bg result are not
waited for.
This commit is contained in:
Junegunn Choi
2026-07-03 00:52:58 +09:00
parent 4111b51527
commit a5d00368a7
3 changed files with 52 additions and 7 deletions
+6
View File
@@ -2322,6 +2322,12 @@ While waiting, user input is ignored, except for keys bound to \fBabort\fR or
default), which cancel the wait and discard the pending actions instead of
performing their usual role.
Asynchronous \fBbg\-transform\-*\fR actions are not affected; their results are
applied as soon as they arrive, even while waiting. Note that \fBwait\fR only
considers searches already in progress or triggered by the preceding actions in
the same binding; a search initiated later by a \fBbg\-transform\fR result is
not waited for.
If the search takes long enough, fzf indicates that it is waiting by dimming the
input, hiding the cursor, and showing \fB(..)\fR on the info line. This visual
feedback is debounced so that quick searches do not cause flickering.