mirror of
https://github.com/junegunn/fzf.git
synced 2025-08-10 09:02:01 -07:00
Restore STDIN during execute-silent
This allows users to terminate the process with CTRL-C when it hangs.
This commit is contained in:
@@ -1309,7 +1309,9 @@ func (t *Terminal) executeCommand(template string, forcePlus bool, background bo
|
||||
t.redraw()
|
||||
t.refresh()
|
||||
} else {
|
||||
t.tui.Pause(false)
|
||||
cmd.Run()
|
||||
t.tui.Resume(false)
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user