summaryrefslogtreecommitdiffstats
path: root/CHANGELOG.md
diff options
context:
space:
mode:
authorJunegunn Choi <junegunn.c@gmail.com>2022-09-08 01:01:22 +0900
committerJunegunn Choi <junegunn.c@gmail.com>2022-09-28 23:22:31 +0900
commit22cbd9fa58512ffdcc975bab37a55467d5e10968 (patch)
treebddf8d579d8fe88abc4a6014f1a0e936d48be7c7 /CHANGELOG.md
parent984049586a5e5409131e4cb4600115f4a6b9c669 (diff)
Implement height range (--height ~[VALUE][%])
Close #2953
Diffstat (limited to 'CHANGELOG.md')
-rw-r--r--CHANGELOG.md30
1 files changed, 30 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 29323b31..55f85a61 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,6 +1,36 @@
CHANGELOG
=========
+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.
+ ```sh
+ 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
+ ```sh
+ # 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
+ ```sh
+ # 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
+
0.33.0
------
- Added `--scheme=[default|path|history]` option to choose scoring scheme