Move hook format setup earlier and add a hook_client, GitHub issue 2809.

This commit is contained in:
nicm
2021-08-12 08:05:11 +00:00
parent 7eea3d7ab8
commit 163908fe8a
5 changed files with 58 additions and 25 deletions

1
tmux.1
View File

@ -4925,6 +4925,7 @@ The following variables are available, where appropriate:
.It Li "history_limit" Ta "" Ta "Maximum window history lines"
.It Li "history_size" Ta "" Ta "Size of history in lines"
.It Li "hook" Ta "" Ta "Name of running hook, if any"
.It Li "hook_client" Ta "" Ta "Name of client where hook was run, if any"
.It Li "hook_pane" Ta "" Ta "ID of pane where hook was run, if any"
.It Li "hook_session" Ta "" Ta "ID of session where hook was run, if any"
.It Li "hook_session_name" Ta "" Ta "Name of session where hook was run, if any"