Keep cursor hidden on track unblock during wait
Some checks are pending
CodeQL / Analyze (push) Waiting to run
build / build (push) Waiting to run
Test fzf on macOS / build (push) Waiting to run

unblockTrack restored the cursor unconditionally. If tracking unblocks
while wait feedback is still hiding it, the cursor briefly reappeared.
Guard with waitFeedback, mirroring unblockWait's trackBlocked guard.
This commit is contained in:
Junegunn Choi 2026-06-30 18:11:11 +09:00
parent f4f2c34916
commit 1d9d7cd417
No known key found for this signature in database
GPG key ID: D9770615D226D94C

View file

@ -5807,7 +5807,8 @@ func (t *Terminal) unblockTrack() {
t.trackBlocked = false
t.trackKey = ""
t.trackKeyCache = nil
if !t.inputless {
// Keep the cursor hidden if the wait feedback is still showing it
if !t.inputless && !t.waitFeedback() {
t.tui.ShowCursor()
}
}