mirror of
https://github.com/junegunn/fzf.git
synced 2025-11-14 06:13:47 -05:00
Do not ignore current query when input is hidden
* The initial query given by --query should be respected * The current query should still be respected after `hide-input` (or `toggle-input) Fix #4327
This commit is contained in:
@@ -1418,10 +1418,7 @@ func (t *Terminal) Input() (bool, []rune) {
|
||||
t.mutex.Lock()
|
||||
defer t.mutex.Unlock()
|
||||
paused := t.paused
|
||||
var src []rune
|
||||
if !t.inputless {
|
||||
src = t.input
|
||||
}
|
||||
src := t.input
|
||||
if t.inputOverride != nil {
|
||||
paused = false
|
||||
src = *t.inputOverride
|
||||
|
||||
Reference in New Issue
Block a user