Commit Graph

2713 Commits (master)
 

Author SHA1 Message Date
Junegunn Choi da752fc9a4
Fix Windows build
Fix #3598
3 months ago
Junegunn Choi beb2de2dd9
0.46.0 3 months ago
Junegunn Choi 2a8b65e105
Fix highlighting of regions that are matched multiple times
Fix #3596
4 months ago
dependabot[bot] 62a916bc24
Bump crate-ci/typos from 1.16.4 to 1.17.2 (#3595)
Bumps [crate-ci/typos](https://github.com/crate-ci/typos) from 1.16.4 to 1.17.2.
- [Release notes](https://github.com/crate-ci/typos/releases)
- [Changelog](https://github.com/crate-ci/typos/blob/master/CHANGELOG.md)
- [Commits](https://github.com/crate-ci/typos/compare/v1.16.4...v1.17.2)

---
updated-dependencies:
- dependency-name: crate-ci/typos
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 months ago
dependabot[bot] c47b833e7b
Bump actions/dependency-review-action from 3 to 4 (#3594)
Bumps [actions/dependency-review-action](https://github.com/actions/dependency-review-action) from 3 to 4.
- [Release notes](https://github.com/actions/dependency-review-action/releases)
- [Commits](https://github.com/actions/dependency-review-action/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/dependency-review-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 months ago
LangLangBart 09b0958b5f
docs(ADVANCED.md): replace placeholder with env variable for toggle single key binding (#3593) 4 months ago
Junegunn Choi 3a4c3d3e58
Add link to fzf Theme Playground by @vitormv
https://vitormv.github.io/fzf-themes/
4 months ago
Junegunn Choi 7484292e63
Avoid deadlocks by adding a 2 second timeout to GET / endpoint
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.
4 months ago
Junegunn Choi 687c2741b8
Add 'resize' event
Close #3570
4 months ago
junegunn 2fb285e530 Deploying to master from @ junegunn/fzf@16f6473938 🚀 4 months ago
Junegunn Choi 16f6473938
Change mattn/go-runewidth dependency to rivo/uniseg for accurate results
Related #3588 #3588 #3567
4 months ago
Junegunn Choi 66546208b2
Update goreleaser flags 4 months ago
Junegunn Choi 532274045e
Update to the latest go 4 months ago
LangLangBart 9347c72fb6
docs(ADVANCED.md): Add fzf example switching ripgrep/fzf with single hotkey (#3590) 4 months ago
Junegunn Choi e90bb7169c
[zsh] Handle '*' suffix in history line numbers
Fix #3591
4 months ago
Junegunn Choi 8a2c41e183
Handle ambiguous emoji width
Fix #3588
4 months ago
Junegunn Choi 59fb65293a
README.md: More information on image support 4 months ago
Junegunn Choi e7718b92b7
Kitty image support improvements
* Use `--unicode-placeholder` for consistent result in and out of tmux
* Use updated version of junegunn/go-runewidth that handles diacritics
  used in Kitty Unicode placeholder

Close #3567
4 months ago
Junegunn Choi cdfaf761df
Expose state information via environment variables to child processes
Close #3582
4 months ago
Junegunn Choi 1a9ea6f738
Remove 'replace' directive for 'go install' compatibility
Close #3577
4 months ago
junegunn 945c1c8597 Deploying to master from @ junegunn/fzf@e4d0f7acd5 🚀 4 months ago
dependabot[bot] e4d0f7acd5
Bump golang.org/x/term from 0.15.0 to 0.16.0 (#3564)
Bumps [golang.org/x/term](https://github.com/golang/term) from 0.15.0 to 0.16.0.
- [Commits](https://github.com/golang/term/compare/v0.15.0...v0.16.0)

---
updated-dependencies:
- dependency-name: golang.org/x/term
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 months ago
Junegunn Choi 250496c953
Add 'result' event that is triggered when the result list is ready
Close #3560
4 months ago
Junegunn Choi e47dc758c9
Fix focus event not triggered in certain cases 4 months ago
Junegunn Choi b92a843c5f
Use Ubuntu 22 to match GitHub Actions environment 4 months ago
Junegunn Choi 91bea9c5b3
Use forked version of go-runewidth
Fix #3558

  go get github.com/junegunn/go-runewidth@fzf
4 months ago
junegunn d75bb5cbe1 Deploying to master from @ junegunn/fzf@2671259fdb 🚀 4 months ago
danztran 2671259fdb
[zsh] Make CTRL-R compatible with accept-or-print-query (#3557)
Fix #3556

Co-authored-by: Junegunn Choi <junegunn.c@gmail.com>
4 months ago
Junegunn Choi 2024010119
0.45.0 4 months ago
Junegunn Choi 412040f77e
Enable preview if 'transform' action is bound to a key 4 months ago
Junegunn Choi d210660ce8
Add actions: show-header and hide-header 4 months ago
Junegunn Choi 863a12562b
Trigger focus actions synchronously 4 months ago
junegunn 5da606a9ac Deploying to master from @ junegunn/fzf@8d20f3d5c4 🚀 4 months ago
Junegunn Choi 8d20f3d5c4
ADVANCED.md: Add toggling example with `transform` and `{fzf:prompt}`
Courtesy of @LangLangBart
4 months ago
Junegunn Choi 5d360180af
Add {fzf:prompt} placeholder expression
Close #3354
4 months ago
Junegunn Choi f0fbed6007
Fix RuboCop error 4 months ago
Junegunn Choi 519de7c833
Fix unexpected result of --tiebreak=end
See https://github.com/junegunn/fzf/issues/3255#issuecomment-1869580320
4 months ago
Junegunn Choi 97ccef1a04
{fzf:query} should trigger preview update
fzf --preview 'echo {fzf:query}'
    fzf --preview 'echo {q}'
4 months ago
Junegunn Choi c4df0dd06e
Add TRANSFORM ACTIONS section to man page 4 months ago
Junegunn Choi cd114c6818
Change transform action to directly execute actions
To avoid filling up input channel for HTTP server
4 months ago
Junegunn Choi 1707b8cdba
Add 'transform' action to conditionally perform a series of actions
'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
4 months ago
Junegunn Choi 41d4d70b98
Fix shell escaping for fish
Fix #3224
4 months ago
Junegunn Choi 0e999482cb
Fix handling of empty ANSI color sequence
Fix #3320
4 months ago
junegunn 65b2c06027 Deploying to master from @ junegunn/fzf@d7b61ede07 🚀 5 months ago
Junegunn Choi d7b61ede07
Add support for negative --height
fzf --height=-1

Close #3487
5 months ago
dependabot[bot] 87fc1c84b8
Bump actions/setup-go from 4 to 5 (#3537)
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 4 to 5.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](https://github.com/actions/setup-go/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/setup-go
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
5 months ago
dependabot[bot] d4b5f12383
Bump github/codeql-action from 2 to 3 (#3544)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2 to 3.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/v2...v3)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
5 months ago
junegunn eb62b0d665 Deploying to master from @ junegunn/fzf@91387a741b 🚀 5 months ago
Jan Verbeek 91387a741b
Terminate simple server success response with double CRLF (#3542)
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.
5 months ago
Junegunn Choi e8b34cb00d
Clarification on accept-or-print-query vs. become 5 months ago