summaryrefslogtreecommitdiffstats
path: root/src/core.go
AgeCommit message (Collapse)Author
2024-07-05Remove --walker-path-sepJunegunn Choi
Related: #3859 #3907 #3909
2024-06-29Add --walker-path-sep=CHAR to use a different path separatorJunegunn Choi
This is needed when you run a Windows binary on WSL or zsh on Windows where forward slashes are expected. export FZF_DEFAULT_OPTS='--walker-path-sep /' Close #3859
2024-06-24Do not start the initial reader if 'reload*' is bound to 'start'Junegunn Choi
2024-06-17Improved --sync behaviorJunegunn Choi
When --sync is provided, fzf will not render the interface until the initial filtering and associated actions (bound to any of 'start', 'load', or 'result') are complete.
2024-06-15--sync: Do not start TUI until initial filtering is completeJunegunn Choi
2024-06-12Do not open tmux or winpty in `--filter` modeJunegunn Choi
2024-06-10Less aggressive chunk cache invalidation for --tailJunegunn Choi
2024-06-04Add --tail=NUM to limit the number of items to keep in memoryJunegunn Choi
2024-06-01--tmux vs. --height: Last one winsJunegunn Choi
2024-05-23Use MSYS=enable_pcon instead of winpty on mintty 3.4.5 or laterJunegunn Choi
2024-05-23Do not run as winpty proxy if winpty is not availableJunegunn Choi
2024-05-20Use winpty to launch fzf in Git bash (mintty)Junegunn Choi
Close #3806 Known limitation: * --height cannot be used
2024-05-18Add --tmux option to replace fzf-tmux scriptJunegunn Choi
2024-05-07Refactor the code to remove global variablesJunegunn Choi
2024-05-07Refactor the code so that fzf can be used as a library (#3769)Junegunn Choi
2024-04-27Add --with-shell for shelling out with different command and flags (#3746)Junegunn Choi
Close #3732
2024-04-20Remove invalid 'result' event when using --sync optionJunegunn Choi
When the search for the initial query doesn't finish immediately fzf would trigger an invalid 'result' event for an empty query. seq 100 | fzf --query 99 --bind result:accept --sync # Prints 99 seq 1000000 | fzf --query 99 --bind result:accept --sync # Should print 99, but fzf would print 1
2024-04-14Fix streaming filter mode by not running reader callback concurrentlyJunegunn Choi
Close #3728
2024-04-13Enable profiling options when 'pprof' tag is set (#2813)Charlie Vieth
This commit enables cpu, mem, block, and mutex profling of the FZF executable. To support flushing the profiles at program exit it adds util.AtExit to register "at exit" functions and mandates that util.Exit is used instead of os.Exit to stop the program. Co-authored-by: Junegunn Choi <junegunn.c@gmail.com>
2024-04-02Further performance improvements by removing unnecessary copiesJunegunn Choi
2024-04-01Improve ingestion performance (by around 20%)Junegunn Choi
2024-03-27Fix reload and reload-sync behaviorsJunegunn Choi
https://github.com/junegunn/fzf/discussions/3696#discussioncomment-8915593
2024-03-13Add walker options and replace 'find' with the built-in walker (#3649)Junegunn Choi
2024-02-19Export FZF_* variables to 'reload' process as wellJunegunn Choi
2023-12-21Add support for negative --heightJunegunn Choi
fzf --height=-1 Close #3487
2023-05-27Fix bug where preview is not updated after reload when --disabled is setJunegunn Choi
Fix #3311
2023-05-27Remove dead codeJunegunn Choi
2023-05-01Fix caching when reload and query change triggered by the same bindingJunegunn Choi
2023-04-30Fix search not triggered when query change and reload happen at the same timeJunegunn Choi
Fix #3268
2023-04-02Fix a bug of height range with -1 or -0 (#3226)tyama711
Fixed a bug that when both heightUnknown and deferred are true, deferred is not properly reset and the program terminates abnormally. Co-authored-by: Junegunn Choi <junegunn.c@gmail.com>
2022-12-31Fix cache being immediately cleared on reload-syncJunegunn Choi
2022-12-29Add reload-sync actionJunegunn Choi
Close #2816
2022-09-28Implement height range (--height ~[VALUE][%])Junegunn Choi
Close #2953
2022-08-12Reformat comments adhere to gofmtJunegunn Choi
2022-08-03Fix incorrect ordering of `--tiebreak=chunk`Junegunn Choi
2022-04-04Add `rebind` action for restoring bindings after `unbind`Junegunn Choi
Fix #2752 Close #2564
2021-09-14Reset {n} after reloadJunegunn Choi
Fix #2611
2021-03-07Kill input command on terminateJunegunn Choi
Fix #2381 Close #2382
2021-01-030.25.00.25.0Junegunn Choi
2021-01-03Make search toggleableJunegunn Choi
- `--phony` renamed to `--disabled` for consistency - `--no-phony` is now `--enabled` - Added `enable-search`, `disable-search`, and `toggle-search` actions for `--bind` - Added `--color` options: `query` and `disabled` Close #2303
2020-10-270.24.0-rc10.24.0-rc1Junegunn Choi
2020-10-25Add support for text styling using --colorJunegunn Choi
Close #1663
2019-12-16Fix incorrect header array mutationJunegunn Choi
2019-12-09Defer resetting multi-selection on reloadJunegunn Choi
2019-12-06Properly clear list when --header-lines not filled on reloadJunegunn Choi
2019-12-05Remove immediate flickering on reload actionJunegunn Choi
2019-11-12Remove trailing whitespaces when using --with-nthJunegunn Choi
2019-11-12'reload' action should reset --header-linesJunegunn Choi
2019-11-11Remove unnecessary reader barrier on --filter modeJunegunn Choi
2019-11-10Experimental implementation of "reload" actionJunegunn Choi
# Reload input list with different sources seq 10 | fzf --bind 'ctrl-a:reload(seq 100),ctrl-b:reload(seq 1000)' # Reload as you type seq 10 | fzf --bind 'change:reload:seq {q}' --phony # Integration with ripgrep RG_PREFIX="rg --column --line-number --no-heading --color=always --smart-case " INITIAL_QUERY="" FZF_DEFAULT_COMMAND="$RG_PREFIX '$INITIAL_QUERY'" \ fzf --bind "change:reload:$RG_PREFIX {q} || true" \ --ansi --phony --query "$INITIAL_QUERY" Close #751 Close #965 Close #974 Close #1736 Related #1723