mirror of
https://github.com/junegunn/fzf.git
synced 2026-08-13 12:33:44 +02: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:
parent
f4f2c34916
commit
1d9d7cd417
1 changed files with 2 additions and 1 deletions
|
|
@ -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()
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue