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

+7
View File
@@ -231,6 +231,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
.EE
.PP
@@ -1332,6 +1333,12 @@ This shell command can be defined to be executed after changing a directory.
.PP
This shell command can be defined to be executed after the selection changes.
.PP
.EX
on-redraw
.EE
.PP
This shell command can be defined to be executed after the screen is redrawn or if the terminal is resized.
.PP
.EX
on-quit
.EE