From 04db44067dd4d9bf7f85ae4d704e740d7420f957 Mon Sep 17 00:00:00 2001 From: Junegunn Choi Date: Mon, 20 May 2024 01:33:33 +0900 Subject: Implement multi-line display of multi-line items --- man/man1/fzf.1 | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) (limited to 'man') diff --git a/man/man1/fzf.1 b/man/man1/fzf.1 index fabe5d2b..41a6c22d 100644 --- a/man/man1/fzf.1 +++ b/man/man1/fzf.1 @@ -162,6 +162,9 @@ the details. .B "--cycle" Enable cyclic scroll .TP +.B "--no-multi-line" +Disable multi-line display of items when using \fB--read0\fR +.TP .B "--keep-right" Keep the right end of the line visible when it's too long. Effective only when the query string is empty. @@ -204,13 +207,19 @@ 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. +range according to the input size. # Will not take up 100% of the screen seq 5 | fzf --height=~100% +Adaptive height has the following limitations: +.br +* Cannot be used with top/bottom margin and padding given in percent size +.br +* Negative value is not allowed +.br +* It will not find the right size when there are multi-line items + .TP .BI "--min-height=" "HEIGHT" Minimum height when \fB--height\fR is given in percent (default: 10). -- cgit v1.2.3