From d7b61ede07ab20ba106191968f12aaf600b6ede4 Mon Sep 17 00:00:00 2001 From: Junegunn Choi Date: Thu, 21 Dec 2023 18:41:01 +0900 Subject: Add support for negative --height fzf --height=-1 Close #3487 --- man/man1/fzf.1 | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) (limited to 'man/man1') 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). -- cgit v1.2.3