summaryrefslogtreecommitdiffstats
path: root/man/man1/fzf.1
diff options
context:
space:
mode:
authorJunegunn Choi <junegunn.c@gmail.com>2024-01-21 15:29:53 +0900
committerJunegunn Choi <junegunn.c@gmail.com>2024-01-21 15:30:59 +0900
commit687c2741b8d5c0cfcd0b318596cd04914fecf4e9 (patch)
tree3eeabf62e896f3626ee6a4539e2555efe45bcf8a /man/man1/fzf.1
parent2fb285e5303515a67137a07ad56b496115394733 (diff)
Add 'resize' event
Close #3570
Diffstat (limited to 'man/man1/fzf.1')
-rw-r--r--man/man1/fzf.17
1 files changed, 7 insertions, 0 deletions
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.