diff options
author | Junegunn Choi <junegunn.c@gmail.com> | 2023-12-21 18:41:01 +0900 |
---|---|---|
committer | Junegunn Choi <junegunn.c@gmail.com> | 2023-12-21 18:42:23 +0900 |
commit | d7b61ede07ab20ba106191968f12aaf600b6ede4 (patch) | |
tree | f86613d7e0ef3ec06aa44890d81bd5ab991e6b67 /man/man1/fzf.1 | |
parent | 87fc1c84b8700e694ec341b36ac3ce29a7a30e6b (diff) |
Add support for negative --height
fzf --height=-1
Close #3487
Diffstat (limited to 'man/man1/fzf.1')
-rw-r--r-- | man/man1/fzf.1 | 20 |
1 files changed, 16 insertions, 4 deletions
diff --git a/man/man1/fzf.1 b/man/man1/fzf.1 index 0205d0ad..c4fe788c 100644 --- a/man/man1/fzf.1 +++ b/man/man1/fzf.1 @@ -21,7 +21,7 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. .. -.TH fzf 1 "Nov 2023" "fzf 0.44.1" "fzf - a command-line fuzzy finder" +.TH fzf 1 "Dec 2023" "fzf 0.45.0" "fzf - a command-line fuzzy finder" .SH NAME fzf - a command-line fuzzy finder @@ -192,9 +192,21 @@ Label characters for \fBjump\fR and \fBjump-accept\fR .TP .BI "--height=" "[~]HEIGHT[%]" Display fzf window below the cursor with the given height instead of using -the full screen. When prefixed with \fB~\fR, fzf will automatically determine -the height in the range according to the input size. Note that adaptive height -is not compatible with top/bottom margin and padding given in percent size. +the full screen. + +If a negative value is specified, the height is calculated as the terminal +height minus the given value. + + fzf --height=-1 + +When prefixed with \fB~\fR, fzf will automatically determine the height in the +range according to the input size. Note that adaptive height is not compatible +with top/bottom margin and padding given in percent size. It is also not +compatible with a negative height value. + + # Will not take up 100% of the screen + seq 5 | fzf --height=~100% + .TP .BI "--min-height=" "HEIGHT" Minimum height when \fB--height\fR is given in percent (default: 10). |