From 89334e881ec0dbd7190cdc415215ed84f45ba219 Mon Sep 17 00:00:00 2001 From: Junegunn Choi Date: Thu, 19 Jun 2025 22:56:41 +0900 Subject: [PATCH] Update man page and changelog --- CHANGELOG.md | 25 +++++++++++++++++++++++++ man/man1/fzf.1 | 8 ++++++-- 2 files changed, 31 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6bfb9427..11a55411 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,31 @@ CHANGELOG 0.63.0 ------ +- Added footer. The default border style for footer is `line`, which draws a single separator line. + ```sh + fzf --reverse --footer "fzf: friend zone forever" + ``` + - Options + - `--footer-border[=STYLE]` + - `--footer-label=LABEL` + - `--footer-label-pos=COL[:bottom]` + - Colors + - `footer` + - `footer-bg` + - `footer-border` + - `footer-label` + - Actions + - `change-footer` + - `transform-footer` + - `bg-transform-footer` + - `change-footer-label` + - `transform-footer-label` + - `bg-transform-footer-label` +- `line` border style is now allowed for all types of border except for `--list-border`. + ```sh + fzf --height 50% --style full:line --preview 'cat {}' \ + --bind 'focus:bg-transform-header(file {})+bg-transform-footer(wc {})' + ``` - Added `{*}` placeholder flag that evaluates to all matched items. ```bash seq 10000 | fzf --preview "awk '{sum += \$1} END {print sum}' {*f}" diff --git a/man/man1/fzf.1 b/man/man1/fzf.1 index df2fba5f..3ae172e0 100644 --- a/man/man1/fzf.1 +++ b/man/man1/fzf.1 @@ -262,8 +262,9 @@ color mappings. Each entry is separated by a comma and/or whitespaces. \fBlist\-bg \fRList section background \fBselected\-bg \fRSelected line background \fBpreview\-bg \fRPreview window background - \fBinput\-bg \fRInput window background (\fB\-\-input\-border\fR) - \fBheader\-bg \fRHeader window background (\fB\-\-header\-border\fR) + \fBinput\-bg \fRInput window background + \fBheader\-bg \fRHeader window background + \fBfooter\-bg \fRFooter window background \fBhl \fRHighlighted substrings \fBselected\-hl \fRHighlighted substrings in the selected line \fBcurrent\-fg (fg+) \fRText (current line) @@ -284,16 +285,19 @@ color mappings. Each entry is separated by a comma and/or whitespaces. \fBpreview\-scrollbar \fRScrollbar \fBinput\-border \fRBorder around the input window (\fB\-\-input\-border\fR) \fBheader\-border \fRBorder around the header window (\fB\-\-header\-border\fR) + \fBfooter\-border \fRBorder around the footer window (\fB\-\-footer\-border\fR) \fBlabel \fRBorder label (\fB\-\-border\-label\fR, \fB\-\-list\-label\fR, \fB\-\-input\-label\fR, and \fB\-\-preview\-label\fR) \fBlist\-label \fRBorder label of the list section (\fB\-\-list\-label\fR) \fBpreview\-label \fRBorder label of the preview window (\fB\-\-preview\-label\fR) \fBinput\-label \fRBorder label of the input window (\fB\-\-input\-label\fR) \fBheader\-label \fRBorder label of the header window (\fB\-\-header\-label\fR) + \fBfooter\-label \fRBorder label of the footer window (\fB\-\-footer\-label\fR) \fBprompt \fRPrompt \fBpointer \fRPointer to the current line \fBmarker \fRMulti\-select marker \fBspinner \fRStreaming input indicator \fBheader (header\-fg) \fRHeader + \fBfooter (footer\-fg) \fRFooter \fBnth \fRParts of the line specified by \fB\-\-nth\fR (only supports attributes) .B ANSI COLORS: