Add 'resize' event

Close #3570
This commit is contained in:
Junegunn Choi committed 2024-01-21 15:30:59 +09:00
1 parent 2fb285e530
commit 687c2741b8
4 files changed
+25 -7

No files matched your search

+7
View File
@@ -1110,6 +1110,13 @@ e.g.
\fB# Change the prompt to "loaded" when the input stream is complete
(seq 10; sleep 1; seq 11 20) | fzf --prompt 'Loading> ' --bind 'load:change-prompt:Loaded> '\fR
.RE
\fIresize\fR
.RS
Triggered when the terminal size is changed.
e.g.
\fBfzf --bind 'resize:transform-header:echo Resized: ${FZF_COLUMNS}x${FZF_LINES}'\fR
.RE
\fIresult\fR
.RS
Triggered when the filtering for the current query is complete and the result list is ready.