Enable focus events through configuration by using focus (option) and on-ui-enter/on-ui-exit events.
This commit is contained in:
6 files changed
+93
-9
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user