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

+6
View File
@@ -212,6 +212,7 @@ when defined:
pre-cd
on-cd
on-select
on-redraw
on-quit
The following commands/keybindings are provided by default:
@@ -1202,6 +1203,11 @@ 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.