From 687c2741b8d5c0cfcd0b318596cd04914fecf4e9 Mon Sep 17 00:00:00 2001 From: Junegunn Choi Date: Sun, 21 Jan 2024 15:29:53 +0900 Subject: Add 'resize' event Close #3570 --- man/man1/fzf.1 | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'man') diff --git a/man/man1/fzf.1 b/man/man1/fzf.1 index 6e6417c7..2a528e22 100644 --- a/man/man1/fzf.1 +++ b/man/man1/fzf.1 @@ -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. -- cgit v1.2.3