diff options
author | Junegunn Choi <junegunn.c@gmail.com> | 2023-11-02 01:35:36 +0900 |
---|---|---|
committer | Junegunn Choi <junegunn.c@gmail.com> | 2023-11-02 01:35:36 +0900 |
commit | 21ab64e96213ec99cf3f6f207690ffe710713fcc (patch) | |
tree | 3d1ebb4ea016827751987abff3f6890d137682f9 /man/man1 | |
parent | a0145cebf284898fce182d78a1edae7270d16f57 (diff) |
sixel: Export $FZF_PREVIEW_TOP to the preview command (#2544)
So that it can determine if it should subtract 1 from $FZF_PREVIEW_LINES
to avoid scrolling issue of Sixel image that touches the bottom of the
screen.
Diffstat (limited to 'man/man1')
-rw-r--r-- | man/man1/fzf.1 | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/man/man1/fzf.1 b/man/man1/fzf.1 index 8666ec02..309be90e 100644 --- a/man/man1/fzf.1 +++ b/man/man1/fzf.1 @@ -548,6 +548,9 @@ they represent the exact size of the preview window. (It also overrides by the default shell, so prefer to refer to the ones with \fBFZF_PREVIEW_\fR prefix.) +fzf also exports \fB$FZF_PREVIEW_TOP\fR and \fB$FZF_PREVIEW_LEFT\fR so that +the preview command can determine the position of the preview window. + A placeholder expression starting with \fB+\fR flag will be replaced to the space-separated list of the selected lines (or the current line if no selection was made) individually quoted. |