Enable focus events through configuration by using focus (option) and on-ui-enter/on-ui-exit events.

This commit is contained in:
Christian Zangl committed 2023-09-21 21:39:05 +02:00
1 parent c8163439f5
commit 77f113639f
6 files changed
+93 -9

No files matched your search

+14
View File
@@ -231,6 +231,8 @@ The following special shell commands are used to customize the behavior of lf wh
pre-cd
on-cd
on-select
on-ui-enter
on-ui-exit
on-quit
.EE
.PP
@@ -1332,6 +1334,18 @@ 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-ui-enter
.EE
.PP
This shell command can be defined to be executed when the UI of lf becomes active. This will be triggered after lf starts and when foreground shell commands finish.
.PP
.EX
on-ui-exit
.EE
.PP
This shell command can be defined to be executed when the UI of lf becomes inactive. This will be triggered before lf exits and before starting foreground shell commands.
.PP
.EX
on-quit
.EE