Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package fzf for openSUSE:Factory checked in at 2024-07-26 16:16:24 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/fzf (Old) and /work/SRC/openSUSE:Factory/.fzf.new.1882 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "fzf" Fri Jul 26 16:16:24 2024 rev:56 rq:1189776 version:0.54.2 Changes: -------- --- /work/SRC/openSUSE:Factory/fzf/fzf.changes 2024-07-22 17:19:30.884907761 +0200 +++ /work/SRC/openSUSE:Factory/.fzf.new.1882/fzf.changes 2024-07-26 16:16:44.560706288 +0200 @@ -1,0 +2,6 @@ +Fri Jul 26 10:29:49 UTC 2024 - Matej Cepl <mcepl@cepl.eu> + +- Update to 0.54.2: + * Fixed incorrect syntax highlighting of truncated multi-line entries + +------------------------------------------------------------------- Old: ---- fzf-0.54.1.tar.gz New: ---- fzf-0.54.2.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ fzf.spec ++++++ --- /var/tmp/diff_new_pack.j9Bt3x/_old 2024-07-26 16:16:45.596747982 +0200 +++ /var/tmp/diff_new_pack.j9Bt3x/_new 2024-07-26 16:16:45.596747982 +0200 @@ -18,7 +18,7 @@ %global _lto_cflags %{nil} Name: fzf -Version: 0.54.1 +Version: 0.54.2 Release: 0 Summary: A command-line fuzzy finder License: MIT ++++++ fzf-0.54.1.tar.gz -> fzf-0.54.2.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/fzf-0.54.1/.goreleaser.yml new/fzf-0.54.2/.goreleaser.yml --- old/fzf-0.54.1/.goreleaser.yml 2024-07-19 10:10:49.000000000 +0200 +++ new/fzf-0.54.2/.goreleaser.yml 2024-07-26 10:44:09.000000000 +0200 @@ -1,4 +1,5 @@ --- +version: 2 project_name: fzf before: @@ -6,60 +7,9 @@ - go mod download builds: - - id: fzf-macos - binary: fzf - goos: - - darwin - goarch: - - amd64 - flags: - - -trimpath - ldflags: - - "-s -w -X main.version={{ .Version }} -X main.revision={{ .ShortCommit }}" - hooks: - post: | - sh -c ' - cat > /tmp/fzf-gon-amd64.hcl << EOF - source = ["./dist/fzf-macos_darwin_amd64_v1/fzf"] - bundle_id = "junegunn.fzf" - sign { - application_identity = "Developer ID Application: Junegunn Choi (Y254DRW44Z)" - } - zip { - output_path = "./dist/fzf-{{ .Version }}-darwin_amd64.zip" - } - EOF - gon /tmp/fzf-gon-amd64.hcl - ' - - - id: fzf-macos-arm - binary: fzf - goos: - - darwin - goarch: - - arm64 - flags: - - -trimpath - ldflags: - - "-s -w -X main.version={{ .Version }} -X main.revision={{ .ShortCommit }}" - hooks: - post: | - sh -c ' - cat > /tmp/fzf-gon-arm64.hcl << EOF - source = ["./dist/fzf-macos-arm_darwin_arm64/fzf"] - bundle_id = "junegunn.fzf" - sign { - application_identity = "Developer ID Application: Junegunn Choi (Y254DRW44Z)" - } - zip { - output_path = "./dist/fzf-{{ .Version }}-darwin_arm64.zip" - } - EOF - gon /tmp/fzf-gon-arm64.hcl - ' - - id: fzf goos: + - darwin - linux - windows - freebsd @@ -89,6 +39,42 @@ - goos: openbsd goarch: arm64 +# .goreleaser.yaml +notarize: + macos: + - # Whether this configuration is enabled or not. + # + # Default: false. + # Templates: allowed. + enabled: "{{ not .IsSnapshot }}" + + # Before notarizing, we need to sign the binary. + # This blocks defines the configuration for doing so. + sign: + # The .p12 certificate file path or its base64'd contents. + certificate: "{{.Env.MACOS_SIGN_P12}}" + + # The password to be used to open the certificate. + password: "{{.Env.MACOS_SIGN_PASSWORD}}" + + # Then, we notarize the binaries. + notarize: + # The issuer ID. + # Its the UUID you see when creating the App Store Connect key. + issuer_id: "{{.Env.MACOS_NOTARY_ISSUER_ID}}" + + # Key ID. + # You can see it in the list of App Store Connect Keys. + # It will also be in the ApiKey filename. + key_id: "{{.Env.MACOS_NOTARY_KEY_ID}}" + + # The .p8 key file path or its base64'd contents. + key: "{{.Env.MACOS_NOTARY_KEY}}" + + # Whether to wait for the notarization to finish. + # Not recommended, as it could take a really long time. + wait: true + archives: - name_template: "{{ .ProjectName }}-{{ .Version }}-{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}" builds: @@ -100,18 +86,12 @@ files: - non-existent* -checksum: - extra_files: - - glob: ./dist/fzf-*darwin*.zip - release: github: owner: junegunn name: fzf prerelease: auto name_template: '{{ .Version }}' - extra_files: - - glob: ./dist/fzf-*darwin*.zip snapshot: name_template: "{{ .Version }}-devel" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/fzf-0.54.1/CHANGELOG.md new/fzf-0.54.2/CHANGELOG.md --- old/fzf-0.54.1/CHANGELOG.md 2024-07-19 10:10:49.000000000 +0200 +++ new/fzf-0.54.2/CHANGELOG.md 2024-07-26 10:44:09.000000000 +0200 @@ -1,6 +1,16 @@ CHANGELOG ========= +0.54.2 +------ +- Fixed incorrect syntax highlighting of truncated multi-line entries +- Updated GoReleaser to 2.1.0 to simplify notarization of macOS binaries + - macOS archives will be in `tar.gz` format instead of `zip` format since we no longer notarize the zip files but binaries +- (Windows) Reverted a mintty fix in 0.54.0 + - As a result, mouse may not work on mintty in fullscreen mode. However, fzf will correctly read non-ASCII input in fullscreen mode (`--no-height`). + - fzf unfortunately cannot read non-ASCII input when not in fullscreen mode on Windows. So if you need to input non-ASCII characters, add `--no-height` to your `$FZF_DEFAULT_OPTS`. + - Any help in fixing this issue will be appreciated (#3799, #3847). + 0.54.1 ------ - Updated [fastwalk](https://github.com/charlievieth/fastwalk) dependency for built-in directory walker diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/fzf-0.54.1/README.md new/fzf-0.54.2/README.md --- old/fzf-0.54.1/README.md 2024-07-19 10:10:49.000000000 +0200 +++ new/fzf-0.54.2/README.md 2024-07-26 10:44:09.000000000 +0200 @@ -44,7 +44,7 @@ If you'd like to sponsor this project, please visit https://github.com/sponsors/junegunn. -<!-- sponsors --><a href="https://github.com/miyanokomiya"><img src="https://github.com/miyanokomiya.png" width="60px" alt="miyanokomiya" /></a><a href="https://github.com/jonhoo"><img src="https://github.com/jonhoo.png" width="60px" alt="Jon Gjengset" /></a><a href="https://github.com/AceofSpades5757"><img src="https://github.com/AceofSpades5757.png" width="60px" alt="Kyle L. Davis" /></a><a href="https://github.com/Frederick888"><img src="https://github.com/Frederick888.png" width="60px" alt="Frederick Zhang" /></a><a href="https://github.com/moritzdietz"><img src="https://github.com/moritzdietz.png" width="60px" alt="Moritz Dietz" /></a><a href="https://github.com/mikker"><img src="https://github.com/mikker.png" width="60px" alt="Mikkel Malmberg" /></a><a href="https://github.com/pldubouilh"><img src="https://github.com/pldubouilh.png" width="60px" alt="Pierre Dubouilh" /></a><a href="https://github.com/rcorre"><img src="https://github.com/rcorre.png" width="60px" alt="Ryan Roden -Corrent" /></a><a href="https://github.com/blissdev"><img src="https://github.com/blissdev.png" width="60px" alt="Jordan Arentsen" /></a><a href="https://github.com/mislav"><img src="https://github.com/mislav.png" width="60px" alt="Mislav Marohnić" /></a><a href="https://github.com/aexvir"><img src="https://github.com/aexvir.png" width="60px" alt="Alex Viscreanu" /></a><a href="https://github.com/dbalatero"><img src="https://github.com/dbalatero.png" width="60px" alt="David Balatero" /></a><a href="https://github.com/comatory"><img src="https://github.com/comatory.png" width="60px" alt="Ondrej Synacek" /></a><a href="https://github.com/moobar"><img src="https://github.com/moobar.png" width="60px" alt="" /></a><a href="https://github.com/majjoha"><img src="https://github.com/majjoha.png" width="60px" alt="Mathias Jean Johansen" /></a><a href="https://github.com/benelan"><img src="https://github.com/benelan.png" width="60px" alt="Ben Elan" /></a><a href="https://github.com/pawelduda "><img src="https://github.com/pawelduda.png" width="60px" alt="Paweł Duda" /></a><a href="https://github.com/slezica"><img src="https://github.com/slezica.png" width="60px" alt="Santiago Lezica" /></a><a href="https://github.com/pbwn"><img src="https://github.com/pbwn.png" width="60px" alt="" /></a><a href="https://github.com/timgluz"><img src="https://github.com/timgluz.png" width="60px" alt="Timo Sulg" /></a><a href="https://github.com/pyrho"><img src="https://github.com/pyrho.png" width="60px" alt="Damien Rajon" /></a><a href="https://github.com/ArtBIT"><img src="https://github.com/ArtBIT.png" width="60px" alt="ArtBIT" /></a><a href="https://github.com/da-moon"><img src="https://github.com/da-moon.png" width="60px" alt="" /></a><a href="https://github.com/hovissimo"><img src="https://github.com/hovissimo.png" width="60px" alt="Hovis" /></a><a href="https://github.com/dariusjonda"><img src="https://github.com/dariusjonda.png" width="60px" alt="Darius Jonda" /></a><a href="https: //github.com/cristiand391"><img src="https://github.com/cristiand391.png" width="60px" alt="Cristian Dominguez" /></a><a href="https://github.com/eliangcs"><img src="https://github.com/eliangcs.png" width="60px" alt="Chang-Hung Liang" /></a><a href="https://github.com/asphaltbuffet"><img src="https://github.com/asphaltbuffet.png" width="60px" alt="Ben Lechlitner" /></a><a href="https://github.com/yash1th"><img src="https://github.com/yash1th.png" width="60px" alt="yash" /></a><a href="https://github.com/looshch"><img src="https://github.com/looshch.png" width="60px" alt="george looshch" /></a><a href="https://github.com/kg8m"><img src="https://github.com/kg8m.png" width="60px" alt="Takumi KAGIYAMA" /></a><a href="https://github.com/polm"><img src="https://github.com/polm.png" width="60px" alt="Paul O'Leary McCann" /></a><a href="https://github.com/rbeeger"><img src="https://github.com/rbeeger.png" width="60px" alt="Robert Beeger" /></a><a href="https://github.com/veebch"><img src="h ttps://github.com/veebch.png" width="60px" alt="VEEB Projects" /></a><a href="https://github.com/yowayb"><img src="https://github.com/yowayb.png" width="60px" alt="Yoway Buorn" /></a><a href="https://github.com/scalisi"><img src="https://github.com/scalisi.png" width="60px" alt="Josh Scalisi" /></a><a href="https://github.com/alecbcs"><img src="https://github.com/alecbcs.png" width="60px" alt="Alec Scott" /></a><a href="https://github.com/thnxdev"><img src="https://github.com/thnxdev.png" width="60px" alt="thanks.dev" /></a><a href="https://github.com/artursapek"><img src="https://github.com/artursapek.png" width="60px" alt="Artur Sapek" /></a><a href="https://github.com/ramnes"><img src="https://github.com/ramnes.png" width="60px" alt="Guillaume Gelin" /></a><a href="https://github.com/jyc"><img src="https://github.com/jyc.png" width="60px" alt="" /></a><a href="https://github.com/mrcnski"><img src="https://github.com/mrcnski.png" width="60px" alt="Marcin S." /></a><a href="https:/ /github.com/roblevy"><img src="https://github.com/roblevy.png" width="60px" alt="Rob Levy" /></a><a href="https://github.com/glozow"><img src="https://github.com/glozow.png" width="60px" alt="Gloria Zhao" /></a><a href="https://github.com/wjt"><img src="https://github.com/wjt.png" width="60px" alt="Will Thompson" /></a><a href="https://github.com/toupeira"><img src="https://github.com/toupeira.png" width="60px" alt="Markus Koller" /></a><a href="https://github.com/rkpatel33"><img src="https://github.com/rkpatel33.png" width="60px" alt="" /></a><a href="https://github.com/jamesob"><img src="https://github.com/jamesob.png" width="60px" alt="James O'Beirne" /></a><a href="https://github.com/jlebray"><img src="https://github.com/jlebray.png" width="60px" alt="Johan Le Bray" /></a><a href="https://github.com/panosl1"><img src="https://github.com/panosl1.png" width="60px" alt="Panos Lampropoulos" /></a><a href="https://github.com/bespinian"><img src="https://github.com/bespinian.png" widt h="60px" alt="bespinian" /></a><a href="https://github.com/mirzahilmi"><img src="https://github.com/mirzahilmi.png" width="60px" alt="Mirza Hilmi Shodiq" /></a><!-- sponsors --> +<!-- sponsors --><a href="https://github.com/miyanokomiya"><img src="https://github.com/miyanokomiya.png" width="60px" alt="miyanokomiya" /></a><a href="https://github.com/jonhoo"><img src="https://github.com/jonhoo.png" width="60px" alt="Jon Gjengset" /></a><a href="https://github.com/AceofSpades5757"><img src="https://github.com/AceofSpades5757.png" width="60px" alt="Kyle L. Davis" /></a><a href="https://github.com/Frederick888"><img src="https://github.com/Frederick888.png" width="60px" alt="Frederick Zhang" /></a><a href="https://github.com/moritzdietz"><img src="https://github.com/moritzdietz.png" width="60px" alt="Moritz Dietz" /></a><a href="https://github.com/mikker"><img src="https://github.com/mikker.png" width="60px" alt="Mikkel Malmberg" /></a><a href="https://github.com/pldubouilh"><img src="https://github.com/pldubouilh.png" width="60px" alt="Pierre Dubouilh" /></a><a href="https://github.com/rcorre"><img src="https://github.com/rcorre.png" width="60px" alt="Ryan Roden -Corrent" /></a><a href="https://github.com/blissdev"><img src="https://github.com/blissdev.png" width="60px" alt="Jordan Arentsen" /></a><a href="https://github.com/mislav"><img src="https://github.com/mislav.png" width="60px" alt="Mislav Marohnić" /></a><a href="https://github.com/aexvir"><img src="https://github.com/aexvir.png" width="60px" alt="Alex Viscreanu" /></a><a href="https://github.com/dbalatero"><img src="https://github.com/dbalatero.png" width="60px" alt="David Balatero" /></a><a href="https://github.com/moobar"><img src="https://github.com/moobar.png" width="60px" alt="" /></a><a href="https://github.com/majjoha"><img src="https://github.com/majjoha.png" width="60px" alt="Mathias Jean Johansen" /></a><a href="https://github.com/benelan"><img src="https://github.com/benelan.png" width="60px" alt="Ben Elan" /></a><a href="https://github.com/pawelduda"><img src="https://github.com/pawelduda.png" width="60px" alt="Paweł Duda" /></a><a href="https://github.com/slezica">< img src="https://github.com/slezica.png" width="60px" alt="Santiago Lezica" /></a><a href="https://github.com/pbwn"><img src="https://github.com/pbwn.png" width="60px" alt="" /></a><a href="https://github.com/timgluz"><img src="https://github.com/timgluz.png" width="60px" alt="Timo Sulg" /></a><a href="https://github.com/pyrho"><img src="https://github.com/pyrho.png" width="60px" alt="Damien Rajon" /></a><a href="https://github.com/ArtBIT"><img src="https://github.com/ArtBIT.png" width="60px" alt="ArtBIT" /></a><a href="https://github.com/da-moon"><img src="https://github.com/da-moon.png" width="60px" alt="" /></a><a href="https://github.com/hovissimo"><img src="https://github.com/hovissimo.png" width="60px" alt="Hovis" /></a><a href="https://github.com/dariusjonda"><img src="https://github.com/dariusjonda.png" width="60px" alt="Darius Jonda" /></a><a href="https://github.com/cristiand391"><img src="https://github.com/cristiand391.png" width="60px" alt="Cristian Dominguez" /></a><a href="https://github.com/eliangcs"><img src="https://github.com/eliangcs.png" width="60px" alt="Chang-Hung Liang" /></a><a href="https://github.com/asphaltbuffet"><img src="https://github.com/asphaltbuffet.png" width="60px" alt="Ben Lechlitner" /></a><a href="https://github.com/yash1th"><img src="https://github.com/yash1th.png" width="60px" alt="yash" /></a><a href="https://github.com/looshch"><img src="https://github.com/looshch.png" width="60px" alt="george looshch" /></a><a href="https://github.com/kg8m"><img src="https://github.com/kg8m.png" width="60px" alt="Takumi KAGIYAMA" /></a><a href="https://github.com/polm"><img src="https://github.com/polm.png" width="60px" alt="Paul O'Leary McCann" /></a><a href="https://github.com/rbeeger"><img src="https://github.com/rbeeger.png" width="60px" alt="Robert Beeger" /></a><a href="https://github.com/veebch"><img src="https://github.com/veebch.png" width="60px" alt="VEEB Projects" /></a><a href="https://github.com/yowayb"><img src="https: //github.com/yowayb.png" width="60px" alt="Yoway Buorn" /></a><a href="https://github.com/scalisi"><img src="https://github.com/scalisi.png" width="60px" alt="Josh Scalisi" /></a><a href="https://github.com/alecbcs"><img src="https://github.com/alecbcs.png" width="60px" alt="Alec Scott" /></a><a href="https://github.com/the-shank"><img src="https://github.com/the-shank.png" width="60px" alt="theshank" /></a><a href="https://github.com/thnxdev"><img src="https://github.com/thnxdev.png" width="60px" alt="thanks.dev" /></a><a href="https://github.com/artursapek"><img src="https://github.com/artursapek.png" width="60px" alt="Artur Sapek" /></a><a href="https://github.com/ramnes"><img src="https://github.com/ramnes.png" width="60px" alt="Guillaume Gelin" /></a><a href="https://github.com/jyc"><img src="https://github.com/jyc.png" width="60px" alt="" /></a><a href="https://github.com/mrcnski"><img src="https://github.com/mrcnski.png" width="60px" alt="Marcin S." /></a><a href="https://git hub.com/roblevy"><img src="https://github.com/roblevy.png" width="60px" alt="Rob Levy" /></a><a href="https://github.com/glozow"><img src="https://github.com/glozow.png" width="60px" alt="Gloria Zhao" /></a><a href="https://github.com/wjt"><img src="https://github.com/wjt.png" width="60px" alt="Will Thompson" /></a><a href="https://github.com/toupeira"><img src="https://github.com/toupeira.png" width="60px" alt="Markus Koller" /></a><a href="https://github.com/rkpatel33"><img src="https://github.com/rkpatel33.png" width="60px" alt="" /></a><a href="https://github.com/jamesob"><img src="https://github.com/jamesob.png" width="60px" alt="James O'Beirne" /></a><a href="https://github.com/jlebray"><img src="https://github.com/jlebray.png" width="60px" alt="Johan Le Bray" /></a><a href="https://github.com/panosl1"><img src="https://github.com/panosl1.png" width="60px" alt="Panos Lampropoulos" /></a><a href="https://github.com/bespinian"><img src="https://github.com/bespinian.png" width="6 0px" alt="bespinian" /></a><a href="https://github.com/xordspar0"><img src="https://github.com/xordspar0.png" width="60px" alt="Jordan Christiansen" /></a><!-- sponsors --> Table of Contents ----------------- @@ -141,7 +141,7 @@
To set up shell integration (key bindings and fuzzy completion), see [the instructions below](#setting-up-shell-integration).
-[![Packaging status](https://repology.org/badge/vertical-allrepos/fzf.svg)](https://repology.org/project/fzf/versions) +[![Packaging status](https://repology.org/badge/vertical-allrepos/fzf.svg?columns=3)](https://repology.org/project/fzf/versions) ### Windows packages diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/fzf-0.54.1/install new/fzf-0.54.2/install --- old/fzf-0.54.1/install 2024-07-19 10:10:49.000000000 +0200 +++ new/fzf-0.54.2/install 2024-07-26 10:44:09.000000000 +0200 @@ -2,7 +2,7 @@ set -u -version=0.54.1 +version=0.54.2 auto_completion= key_bindings= update_config=2 @@ -168,8 +168,8 @@ binary_available=1 binary_error="" case "$archi" in - Darwin\ arm64) download fzf-$version-darwin_arm64.zip ;; - Darwin\ x86_64) download fzf-$version-darwin_amd64.zip ;; + Darwin\ arm64) download fzf-$version-darwin_arm64.tar.gz ;; + Darwin\ x86_64) download fzf-$version-darwin_amd64.tar.gz ;; Linux\ armv5*) download fzf-$version-linux_armv5.tar.gz ;; Linux\ armv6*) download fzf-$version-linux_armv6.tar.gz ;; Linux\ armv7*) download fzf-$version-linux_armv7.tar.gz ;; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/fzf-0.54.1/install.ps1 new/fzf-0.54.2/install.ps1 --- old/fzf-0.54.1/install.ps1 2024-07-19 10:10:49.000000000 +0200 +++ new/fzf-0.54.2/install.ps1 2024-07-26 10:44:09.000000000 +0200 @@ -1,4 +1,4 @@ -$version="0.54.1" +$version="0.54.2" $fzf_base=Split-Path -Parent $MyInvocation.MyCommand.Definition diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/fzf-0.54.1/man/man1/fzf-tmux.1 new/fzf-0.54.2/man/man1/fzf-tmux.1 --- old/fzf-0.54.1/man/man1/fzf-tmux.1 2024-07-19 10:10:49.000000000 +0200 +++ new/fzf-0.54.2/man/man1/fzf-tmux.1 2024-07-26 10:44:09.000000000 +0200 @@ -21,7 +21,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. .. -.TH fzf\-tmux 1 "Jul 2024" "fzf 0.54.1" "fzf\-tmux - open fzf in tmux split pane" +.TH fzf\-tmux 1 "Jul 2024" "fzf 0.54.2" "fzf\-tmux - open fzf in tmux split pane" .SH NAME fzf\-tmux - open fzf in tmux split pane diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/fzf-0.54.1/man/man1/fzf.1 new/fzf-0.54.2/man/man1/fzf.1 --- old/fzf-0.54.1/man/man1/fzf.1 2024-07-19 10:10:49.000000000 +0200 +++ new/fzf-0.54.2/man/man1/fzf.1 2024-07-26 10:44:09.000000000 +0200 @@ -21,7 +21,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. .. -.TH fzf 1 "Jul 2024" "fzf 0.54.1" "fzf - a command-line fuzzy finder" +.TH fzf 1 "Jul 2024" "fzf 0.54.2" "fzf - a command-line fuzzy finder" .SH NAME fzf - a command-line fuzzy finder diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/fzf-0.54.1/src/terminal.go new/fzf-0.54.2/src/terminal.go --- old/fzf-0.54.1/src/terminal.go 2024-07-19 10:10:49.000000000 +0200 +++ new/fzf-0.54.2/src/terminal.go 2024-07-26 10:44:09.000000000 +0200 @@ -728,7 +728,7 @@ } } if fullscreen { - if !tui.IsLightRendererSupported() { + if tui.HasFullscreenRenderer() { renderer = tui.NewFullscreenRenderer(opts.Theme, opts.Black, opts.Mouse) } else { renderer, err = tui.NewLightRenderer(ttyin, opts.Theme, opts.Black, opts.Mouse, opts.Tabstop, opts.ClearOnExit, @@ -2275,6 +2275,7 @@ finalLineNum := lineNum topCutoff := false + skipLines := 0 wrapped := false if t.multiLine || t.wrap { // Cut off the upper lines in the 'default' layout @@ -2287,7 +2288,7 @@ wrapped = true } - lines = lines[len(lines)-maxLines:] + skipLines = len(lines) - maxLines topCutoff = true } } @@ -2323,6 +2324,10 @@ } } from += len(line) + if lineOffset < skipLines { + continue + } + actualLineOffset := lineOffset - skipLines var maxe int for _, offset := range offsets { @@ -2333,7 +2338,7 @@ actualLineNum := lineNum if t.layout == layoutDefault { - actualLineNum = (lineNum - lineOffset) + (numItemLines - lineOffset) - 1 + actualLineNum = (lineNum - actualLineOffset) + (numItemLines - actualLineOffset) - 1 } t.move(actualLineNum, 0, forceRedraw) @@ -2348,13 +2353,13 @@ marker = markerTop } } else { - if lineOffset == 0 { // First line + if actualLineOffset == 0 { // First line if topCutoff { marker = markerMiddle } else { marker = markerTop } - } else if lineOffset == numItemLines-1 { // Last line + } else if actualLineOffset == numItemLines-1 { // Last line if topCutoff || !overflow { marker = markerBottom } else { ++++++ vendor.tar.zst ++++++
participants (1)
-
Source-Sync