Add support for negative --height

fzf --height=-1

Close #3487
This commit is contained in:
Junegunn Choi
2023-12-21 18:41:01 +09:00
parent 87fc1c84b8
commit d7b61ede07
5 changed files with 44 additions and 9 deletions

View File

@@ -1,8 +1,14 @@
CHANGELOG
=========
0.44.2
0.45.0
------
- Added support for negative height
```sh
# Terminal height minus 1, so you can still see the command line
fzf --height=-1
```
- This handles a terminal resize better than `--height=$(($(tput lines) - 1))`
- Added `accept-or-print-query` action that acts like `accept` but prints the
current query when there's no match for the query
```sh