Add on-redraw hook command (#1479)

* Add `on-redraw` hook command

* Add documentation
This commit is contained in:
Joe Lim authored and GitHub committed 2023-10-30 09:40:24 +11:00
1 parent 7c23c27c59
commit b3cb2dc2b4
4 files changed
+25

No files matched your search

+5
View File
@@ -208,6 +208,7 @@ The following special shell commands are used to customize the behavior of lf wh
pre-cd
on-cd
on-select
on-redraw
on-quit
The following commands/keybindings are provided by default:
@@ -1110,6 +1111,10 @@ This shell command can be defined to be executed after changing a directory.
This shell command can be defined to be executed after the selection changes.
on-redraw
This shell command can be defined to be executed after the screen is redrawn or if the terminal is resized.
on-quit
This shell command can be defined to be executed before quit.