mirror of
https://github.com/junegunn/fzf.git
synced 2025-08-04 14:12:11 -07:00
{fzf:query} should trigger preview update
fzf --preview 'echo {fzf:query}' fzf --preview 'echo {q}'
This commit is contained in:
@@ -610,7 +610,7 @@ func (flags placeholderFlags) encodePlaceholder() string {
|
||||
if flags.file {
|
||||
encoded += "f"
|
||||
}
|
||||
if flags.query {
|
||||
if flags.forceUpdate { // FIXME
|
||||
encoded += "q"
|
||||
}
|
||||
return encoded
|
||||
|
Reference in New Issue
Block a user