mirror of
https://github.com/junegunn/fzf.git
synced 2026-07-11 11:06:29 +08:00
Keep cursor hidden on track unblock during wait
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:
+2
-1
@@ -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()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user