m/fzf
1
0
mirror of https://github.com/junegunn/fzf.git synced 2025-11-19 09:03:43 -05:00

Add --info-command for customizing the input text

Close #3866
This commit is contained in:
Junegunn Choi
2024-06-20 00:53:18 +09:00
parent d9c028c934
commit 540632bb9e
5 changed files with 110 additions and 22 deletions

View File

@@ -3,6 +3,13 @@ CHANGELOG
0.54.0
------
- Added `--info-command` option for customizing info text
```sh
# Prepend the current cursor position in yellow
fzf --info-command='echo -e "\x1b[33;1m$FZF_POS\x1b[m/$FZF_INFO 💛"'
```
- `$FZF_INFO` is set to the original info text
- ANSI color codes are supported
- Better cache management and improved rendering for `--tail`
- Improved `--sync` behavior
- When `--sync` is provided, fzf will not render the interface until the initial filtering and the associated actions (bound to any of `start`, `load`, `result`, or `focus`) are complete.