summaryrefslogtreecommitdiffstats
path: root/src
AgeCommit message (Collapse)Author
2024-03-09Fix preview area not being cleared when using certain types of border stylesJunegunn Choi
fzf --preview 'sleep 3; date' --preview-window hidden \ --bind ctrl-/:change-preview-window:up,border-bottom
2024-03-08Kill preview process when hiding the preview windowJunegunn Choi
via toggle-preview, hide-preview, or change-preview-window
2024-03-08Fix invalid memory access when the preview window becomes hiddenJunegunn Choi
2024-03-05Update parseGetParams to call strconv.Atoi when params are validonee-only
2024-03-05Update error return position according to conventiononee-only
2024-03-05Remove duplicate codeonee-only
2024-03-02Allow iTerm2 image data that ends with 'ESC \' (#3646)Junegunn Choi
2024-02-29Add $FZF_DEFAULT_OPTS_FILE (#3618)Junegunn Choi
For those who prefer to manage default options in a file. If the file is not found, fzf will exit with an error. We're not setting a default value for it because: 1. it's hard to find a default value that can be universally agreed upon 2. to avoid fzf having to check for the existence of the file even when it's not used
2024-02-22Fix missing bonus score on a delimiter characterJunegunn Choi
Fix #3645
2024-02-19Fix unit testsJunegunn Choi
2024-02-19Export FZF_* variables to 'reload' process as wellJunegunn Choi
2024-02-15Code cleanup: Remove unused argumentJunegunn Choi
2024-02-15Replace "default find command" with built-in directory traversalJunegunn Choi
2024-02-010.46.10.46.1Junegunn Choi
2024-02-01Fix tests for tcell buildJunegunn Choi
2024-02-01Avoid full redraw on 'preview' action when preview window existsJunegunn Choi
2024-02-01Retain preview window on resize after 'preview' actionJunegunn Choi
2024-01-27junegunn/uniseg -> rivo/unisegJunegunn Choi
https://github.com/rivo/uniseg/pull/47
2024-01-24Fix Windows buildJunegunn Choi
Fix #3598
2024-01-23Fix highlighting of regions that are matched multiple timesJunegunn Choi
Fix #3596
2024-01-21Avoid deadlocks by adding a 2 second timeout to GET / endpointJunegunn Choi
Because fzf processes HTTP GET requests in the main event loop, accessing the endpoint from within execute/transform actions would result in a deadlock and hang fzf indefinitely. This commit sets a 2 second timeout to avoid the deadlock.
2024-01-21Add 'resize' eventJunegunn Choi
Close #3570
2024-01-21Change mattn/go-runewidth dependency to rivo/uniseg for accurate resultsJunegunn Choi
Related #3588 #3588 #3567
2024-01-19Handle ambiguous emoji widthJunegunn Choi
Fix #3588
2024-01-16Expose state information via environment variables to child processesJunegunn Choi
Close #3582
2024-01-14Remove 'replace' directive for 'go install' compatibilityJunegunn Choi
Close #3577
2024-01-07Add 'result' event that is triggered when the result list is readyJunegunn Choi
Close #3560
2024-01-07Fix focus event not triggered in certain casesJunegunn Choi
2024-01-010.45.00.45.0Junegunn Choi
2023-12-31Enable preview if 'transform' action is bound to a keyJunegunn Choi
2023-12-31Add actions: show-header and hide-headerJunegunn Choi
2023-12-31Trigger focus actions synchronouslyJunegunn Choi
2023-12-28Add {fzf:prompt} placeholder expressionJunegunn Choi
Close #3354
2023-12-26Fix unexpected result of --tiebreak=endJunegunn Choi
See https://github.com/junegunn/fzf/issues/3255#issuecomment-1869580320
2023-12-26{fzf:query} should trigger preview updateJunegunn Choi
fzf --preview 'echo {fzf:query}' fzf --preview 'echo {q}'
2023-12-26Change transform action to directly execute actionsJunegunn Choi
To avoid filling up input channel for HTTP server
2023-12-26Add 'transform' action to conditionally perform a series of actionsJunegunn Choi
'transform' action runs an external command that prints a series of actions to perform. # Disallow selecting an empty line echo -e "1. Hello\n2. Goodbye\n\n3. Exit" | fzf --reverse --header 'Select one' \ --bind 'enter:transform:[[ -n {} ]] && echo accept || echo "change-header:Invalid selection"' # Move cursor past the empty line echo -e "1. Hello\n2. Goodbye\n\n3. Exit" | fzf --reverse --header 'Select one' \ --bind 'enter:transform:[[ -n {} ]] && echo accept || echo "change-header:Invalid selection"' \ --bind 'focus:transform:[[ -n {} ]] && exit; [[ {fzf:action} =~ up$ ]] && echo up || echo down' Close #3368 Close #2980
2023-12-25Fix shell escaping for fishJunegunn Choi
Fix #3224
2023-12-25Fix handling of empty ANSI color sequenceJunegunn Choi
Fix #3320
2023-12-21Add support for negative --heightJunegunn Choi
fzf --height=-1 Close #3487
2023-12-16Terminate simple server success response with double CRLF (#3542)Jan Verbeek
The simple success case had only the status line plus a single CRLF, and pedantic HTTP client implementations (`hyper`) stumbled over this. A double CRLF makes it OK. Fixes #3541.
2023-12-10Add accept-or-print-queryJunegunn Choi
Close #3528
2023-11-30Increase buffer size of event channel to avoid freeze on zero eventJunegunn Choi
Fix #3516
2023-11-21Allow files creation in /tmp on OpenBSD (#3512)Laurent Cheylus
- src/protector/protector_openbsd.go: add tmppath for pledge permissions - fix junegunn/fzf#3511 Signed-off-by: Laurent Cheylus <foxy@free.fr>
2023-11-17Fix crash when preview window is hidden on focus eventJunegunn Choi
2023-11-120.44.00.44.0Junegunn Choi
2023-11-12Fix Home, End on rxvt-unicode (#3507)Tomáš Janoušek
2023-11-12Reset horizontal offset of the prompt on 'beginning-of-line'Junegunn Choi
https://github.com/junegunn/fzf/issues/3498#issuecomment-1806651174
2023-11-10Revert "Sixel and Kitty image support on Windows binary (#2544)"Junegunn Choi
This reverts commit 68db9cb499ab32190edae6c285942c5fb7cf39ed.
2023-11-07(Experimental) Add support for iTerm2 inline image protocolJunegunn Choi
Close #1102 fzf --preview 'imgcat -W $FZF_PREVIEW_COLUMNS -H $FZF_PREVIEW_LINES {}' Notes: * There is no good way to determine the height of the rendered image, so we assume that the image takes the full height of the preview window. So the image cannot be displayed with the other text. * fzf-preview.sh script was updated to use `imgcat` if it's available but `chafa` is not. * iTerm2 also supports Sixel, so adding support for this protocol is not quite necessary but it renders animated GIFs much better (e.g. looping).