mirror of
https://github.com/junegunn/fzf.git
synced 2025-11-12 21:33:49 -05: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