diff options
| author | Junegunn Choi <junegunn.c@gmail.com> | 2025-05-04 14:32:06 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-05-04 14:32:06 +0900 |
| commit | cd9517b67964ec281605d4375f5b4a37f8a77282 (patch) | |
| tree | a4a4c7fddd38f94c4a9f2780a04bc2bcb17ab409 /CHANGELOG.md | |
| parent | cd6677ba1d1eba1edefd4c5321112ed18c3e7283 (diff) | |
| download | fzf-cd9517b67964ec281605d4375f5b4a37f8a77282.tar.gz | |
Add 'alt-bg' color for striped lines (#4370)
Test cases:
1. 'jump' should show alternating background colors even when 'alt-bg' is
not defined as before.
go run main.go --bind load:jump
Two differences:
* The alternating lines will not be in bold (was a bug)
* The marker column will not be rendered with alternating background color
2. Use alternating background color when 'alt-bg' is set
go run main.go --color bg:238,alt-bg:237
go run main.go --color bg:238,alt-bg:237 --highlight-line
3. 'selected-bg' should take precedence
go run main.go --color bg:238,alt-bg:237,selected-bg:232 \
--highlight-line --multi --bind 'load:select+up+select+up'
4. Should work with text with ANSI colors
declare -f | perl -0777 -pe 's/^}\n/}\0/gm' |
bat --plain --language bash --color always |
go run main.go --read0 --ansi --reverse --multi \
--color bg:237,alt-bg:238,current-bg:236 --highlight-line
---
Close #4354
Fix #4372
Diffstat (limited to 'CHANGELOG.md')
| -rw-r--r-- | CHANGELOG.md | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 0b426e74..464faa9f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,23 @@ CHANGELOG ========= +0.62.0 +------ +- Added `alt-bg` color to create striped lines to visually separate rows + ```sh + fzf --color bg:237,alt-bg:238,current-bg:236 --highlight-line + + declare -f | perl -0777 -pe 's/^}\n/}\0/gm' | + bat --plain --language bash --color always | + fzf --read0 --ansi --reverse --multi \ + --color bg:237,alt-bg:238,current-bg:236 --highlight-line + ``` +- [fish] Improvements in CTRL-R binding (@bitraid) + - You can trigger CTRL-R in the middle of a command to insert the selected item + - You can delete history items with SHIFT-DEL +- Bug fixes and improvements + - Fixed unnecessary 100ms delay after `reload` + 0.61.3 ------ - Reverted #4351 as it caused `tmux run-shell 'fzf --tmux'` to fail (#4559 #4560) |
