summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2025-07-06Fix selection lost on revision bumpJunegunn Choi
2025-07-06Fix regression where header is not updatedJunegunn Choi
2025-07-06Update: make generateJunegunn Choi
2025-07-06Add 'multi' event triggered on multi-selection changesJunegunn Choi
2025-07-03Normalize halfwidth and fullwidth characers for matchingJunegunn Choi
2025-07-02Update copyright yearJunegunn Choi
2025-07-02Run preview command when preview window appears after CTRL-ZJunegunn Choi
https://github.com/junegunn/fzf/commit/80b88463188ff78719f23cb2e1dca5f27227879e
2025-07-02Fix panic caused by incorrect update orderingJunegunn Choi
Fix #4442 Make sure to prepare windows before rendering elements. Thanks to @nugged for the report.
2025-06-280.63.0Junegunn Choi
2025-06-27Reset full-background property after a new lineJunegunn Choi
2025-06-26Fix exact boundary match with --scheme=path or --tiebreak endJunegunn Choi
Fix #4438
2025-06-26Fix highlight offsets of multi-line entriesJunegunn Choi
Fix regression from 4811e52a
2025-06-25Refactor ANSI parserJunegunn Choi
2025-06-25Support full-line background color in the list sectionJunegunn Choi
Close #4432
2025-06-24with-nth: Do not trim trailing whitespaces with background colorsJunegunn Choi
Example: echo -en ' \e[48;5;232mhello\e[48;5;147m ' | fzf --ansi --with-nth 1
2025-06-23Allow \e[K in addition to \e[0K for full-line backgroundJunegunn Choi
2025-06-22Terminate running background transform on exit (addendum)Junegunn Choi
Close #4422
2025-06-21Terminate running background transform on exitJunegunn Choi
Close #4422
2025-06-21Reorganize code to ensure deletion of temp filesJunegunn Choi
2025-06-21Add bg-cancel action to ignore running background transformsJunegunn Choi
Close #4430 Example: # Implement popup that disappears after 1 second # * Use footer as the popup # * Use `bell` to ring the terminal bell # * Use `bg-transform-footer` to clear the footer after 1 second # * Use `bg-cancel` to ignore currently running background transform actions fzf --multi --list-border \ --bind 'enter:execute-silent(echo -n {+} | pbcopy)+bell' \ --bind 'enter:+transform-footer(echo Copied {} to clipboard)' \ --bind 'enter:+bg-cancel+bg-transform-footer(sleep 1)'
2025-06-21Avoid full redraw when changing header and footer windowsJunegunn Choi
2025-06-20Do not reserve a single column at the end when scrollbar is hiddenJunegunn Choi
Close #4410 Example: fzf --pointer '' --marker '' --no-scrollbar --wrap --wrap-sign ''
2025-06-19Add {*} placeholder flagJunegunn Choi
2025-06-19Revert "Add {*} placeholder flag"Junegunn Choi
This reverts commit 27258f720723d5de32d483fb6b9ff39608ff9cf9.
2025-06-19Add {*} placeholder flagJunegunn Choi
2025-06-19chore: fix function name (#4425)曹家巧
Signed-off-by: xiaoxiangirl <caojiaqiao@outlook.com>
2025-06-16Implement asynchronous transform actions (#4419)Junegunn Choi
Close #4418 Example: fzf --bind 'focus:bg-transform-header(sleep 2; date; echo {})'
2025-06-10Add footerJunegunn Choi
Options: --footer=STR String to print as footer --footer-border[=STYLE] Draw border around the footer section [rounded|sharp|bold|block|thinblock|double|horizontal|vertical| top|bottom|left|right|line|none] (default: line) --footer-label=LABEL Label to print on the footer border --footer-label-pos=COL Position of the footer label [POSITIVE_INTEGER: columns from left| NEGATIVE_INTEGER: columns from right][:bottom] (default: 0 or center) The default border type for footer is 'line', which draws a single separator between the footer and the list. It changes its position depending on `--layout`, so you don't have to manually switch between 'top' and 'bottom' The 'line' style is now supported by other border types as well. `--list-border` is the only exception.
2025-06-10Fix inconsistent placement of header-lines with border optionsJunegunn Choi
fzf displayed --header-lines inconsistently depending on the presence of borders: # --header and --header-lines co-located seq 10 | fzf --header-lines 3 --header "$(seq 101 103)" --header-first # --header and --header-lines separated seq 10 | fzf --header-lines 3 --header "$(seq 101 103)" --header-first --header-lines-border This commit fixes the inconsistency with the following logic: * If only one of --header or --header-lines is provided, --header-first applies to that single header. * If both are present, --header-first affects only the regular --header, not --header-lines.
2025-05-30Fix ANSI attributes lost when nth:regular is setJunegunn Choi
Example: # foo was not displayed in italic echo -e "\x1b[33;3mfoo \x1b[mbar" | fzf --ansi --color fg:dim,nth:regular --nth 1
2025-05-30Fix ANSI attributes lost when 'regular' attribute is set to fg or nthJunegunn Choi
Examples: echo -e "\x1b[33;3mfoo \x1b[mbar" | fzf --ansi --color fg:regular echo -e "\x1b[33;3mfoo \x1b[mbar" | fzf --ansi --color nth:regular
2025-05-30--no-color: Keep ANSI attributes in the listJunegunn Choi
Example: echo -e "\x1b[33;3mfoo \x1b[34;4mbar\x1b[m baz" | fzf --ansi --no-color
2025-05-30--no-color: Keep ANSI attributes in preview windowJunegunn Choi
Example: fzf --preview 'echo -e "\x1b[33;3mfoo \x1b[34;4mbar\x1b[m baz"' --no-color
2025-05-30Do not apply 'nth' attributes to trailing whitespacesJunegunn Choi
# foo bar # ----- <- previously underlined trailing whitespace # --- <- with the fix, trailing whitespace is excluded fzf --color nth:underline --nth 1 <<< 'foo bar'
2025-05-30Fix FZF_CLICK_HEADER_NTH for multi-line headersJunegunn Choi
2025-05-28Allow customizing --ghost color via '--color ghost'Junegunn Choi
Examples: # Dimmed red fzf --ghost booya --color ghost:red # Regular red fzf --ghost booya --color ghost:red:regular Close #4398
2025-05-28Fix background color of 'disabled' queryJunegunn Choi
fzf --color disabled:red,list-bg:blue --disabled --query foo --input-border
2025-05-17Show ellipsis for truncated labelsJunegunn Choi
Close #4390
2025-05-04Allow whitespace as separator in --color optionJunegunn Choi
2025-05-04Add 'alt-bg' color for striped lines (#4370)Junegunn Choi
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
2025-04-25Reset coordinator delay on 'reload'Junegunn Choi
Fix #4364
2025-04-22Add missing environment variables (#4356)RafaelDominiquini
Co-authored-by: Rafael Baboni Dominiquini <rafaeldominiquini@gmail.com> Co-authored-by: Junegunn Choi <junegunn.c@gmail.com>
2025-04-22Revert "Disable tmux popup when already running inside one (#4351)"Junegunn Choi
This reverts commit af8fe918d863b18160390a79cbf957ee28dead56. Fix #4360 Fix #4359
2025-04-20Add --tty-default=/dev/tty and --no-tty-default option (#4352)Junegunn Choi
Fix #4242. Use --no-tty-default, if you want fzf to perform a TTY look-up instead of defaulting to /dev/tty.
2025-04-18Disable tmux popup when already running inside one (#4351)Pierre Guinoiseau
2025-04-13Fix panic when use header border without pointer/marker (#4345)phanium
2025-04-11Fix trailing ␊ not rendered with '--read0 --no-multi-line'Junegunn Choi
https://github.com/junegunn/fzf/pull/4334#issue-2966013714 # Should display foo␊ echo -en "foo\n" | fzf --read0 --no-multi-line
2025-04-11reader: Do not append '/' to '/'Junegunn Choi
https://github.com/junegunn/fzf/pull/4334#issue-2966013714
2025-04-060.61.1Junegunn Choi
2025-04-06Disable bracketed paste mode on exitJunegunn Choi
Related: #4338