From 101964df2226f830000af80aa9adcfffa9fe2202de3ccb75d6d640e82ab46135 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Wed, 28 Sep 2022 23:01:14 +0000 Subject: [PATCH] - Update to 0.34.0: - Added support for adaptive --height. If the --height value is prefixed with ~, fzf will automatically determine the height in the range according to the input size. seq 1 | fzf --height ~70% --border --padding 1 --margin 1 seq 10 | fzf --height ~70% --border --padding 1 --margin 1 seq 100 | fzf --height ~70% --border --padding 1 --margin 1 - There are a few limitations - Not compatible with percent top/bottom margin/padding # This is not allowed (top/bottom margin in percent value) fzf --height ~50% --border --margin 5%,10% # This is allowed (top/bottom margin in fixed value) fzf --height ~50% --border --margin 2,10% - fzf will not start until it can determine the right height for the input # fzf will open immediately (sleep 2; seq 10) | fzf --height 50% # fzf will open after 2 seconds (sleep 2; seq 10) | fzf --height ~50% (sleep 2; seq 1000) | fzf --height ~50% - Fixed tcell renderer used to render full-screen fzf on Windows --no-clear is deprecated. Use reload action instead. OBS-URL: https://build.opensuse.org/package/show/utilities/fzf?expand=0&rev=58 --- fzf-0.33.0.tar.gz | 3 --- fzf-0.34.0.tar.gz | 3 +++ fzf.changes | 33 +++++++++++++++++++++++++++++++++ fzf.spec | 2 +- vendor.tar.xz | 4 ++-- 5 files changed, 39 insertions(+), 6 deletions(-) delete mode 100644 fzf-0.33.0.tar.gz create mode 100644 fzf-0.34.0.tar.gz diff --git a/fzf-0.33.0.tar.gz b/fzf-0.33.0.tar.gz deleted file mode 100644 index e1e561a..0000000 --- a/fzf-0.33.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:136ddddfdb229631b08ea7e67be965bcf9c95f5fe1360b80b11f81aa64ba19ad -size 212698 diff --git a/fzf-0.34.0.tar.gz b/fzf-0.34.0.tar.gz new file mode 100644 index 0000000..7b36c3e --- /dev/null +++ b/fzf-0.34.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5bfd2518f0d136a76137de799ff5911608802d23564fc26e245f25a627395ecc +size 214641 diff --git a/fzf.changes b/fzf.changes index 63e7c7e..c24e37d 100644 --- a/fzf.changes +++ b/fzf.changes @@ -1,3 +1,36 @@ +------------------------------------------------------------------- +Wed Sep 28 22:54:30 UTC 2022 - Matej Cepl + +- Update to 0.34.0: + - Added support for adaptive --height. If the --height value is prefixed + with ~, fzf will automatically determine the height in the range according + to the input size. + + seq 1 | fzf --height ~70% --border --padding 1 --margin 1 + seq 10 | fzf --height ~70% --border --padding 1 --margin 1 + seq 100 | fzf --height ~70% --border --padding 1 --margin 1 + + - There are a few limitations + - Not compatible with percent top/bottom margin/padding + + # This is not allowed (top/bottom margin in percent value) + fzf --height ~50% --border --margin 5%,10% + + # This is allowed (top/bottom margin in fixed value) + fzf --height ~50% --border --margin 2,10% + + - fzf will not start until it can determine the right height for the input + + # fzf will open immediately + (sleep 2; seq 10) | fzf --height 50% + + # fzf will open after 2 seconds + (sleep 2; seq 10) | fzf --height ~50% + (sleep 2; seq 1000) | fzf --height ~50% + + - Fixed tcell renderer used to render full-screen fzf on Windows + --no-clear is deprecated. Use reload action instead. + ------------------------------------------------------------------- Mon Sep 5 14:04:02 UTC 2022 - Jorik Cronenberg diff --git a/fzf.spec b/fzf.spec index 3d9b051..eb4e32d 100644 --- a/fzf.spec +++ b/fzf.spec @@ -17,7 +17,7 @@ Name: fzf -Version: 0.33.0 +Version: 0.34.0 Release: 0 Summary: A command-line fuzzy finder License: MIT diff --git a/vendor.tar.xz b/vendor.tar.xz index c321321..b71f716 100644 --- a/vendor.tar.xz +++ b/vendor.tar.xz @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:8697d8064955fc274a7ce57be9e2ff314f3be5e07e2d516eb7bb705d3c3e592f -size 1323764 +oid sha256:5b3080e9c47f80def22673e90101b3c99a069b3e5b15314889973f9e85ff4248 +size 1423860