Checklist
Output of fzf --version
0.72.0 (6fefe02)
OS
Shell
Problem / Steps to reproduce
Currently, fzf supports dynamic label updates using change and transform actions. However, the footer-label lacks this flexibility. There is currently no way to dynamically update the footer label after the initial launch, nor is its value exported to child processes.
Proposed solution
I propose making footer-label consistent with other labels by implementing the following:
- New actions:
- change-footer-label(...) (change --footer-label to the given string)
- transform-footer-label(...) (transform footer label using an external command)
- Exported environment variable:
- FZF_FOOTER_LABEL: Footer label string
This would allow for more consistent UI logic when building custom tools, where scripts might need to know what is currently being displayed in the footer. It would also eliminate the need to restart fzf to reflect changes in the footer label.
Checklist
man fzf)Output of
fzf --version0.72.0 (6fefe02)
OS
Shell
Problem / Steps to reproduce
Currently,
fzfsupports dynamic label updates using change and transform actions. However, the footer-label lacks this flexibility. There is currently no way to dynamically update the footer label after the initial launch, nor is its value exported to child processes.Proposed solution
I propose making footer-label consistent with other labels by implementing the following:
This would allow for more consistent UI logic when building custom tools, where scripts might need to know what is currently being displayed in the footer. It would also eliminate the need to restart
fzfto reflect changes in the footer label.