Add a command-error hook when a command fails, from Hugh Davenport in

GitHub issue 3973.
This commit is contained in:
nicm
2024-05-14 07:52:19 +00:00
parent 4c928dce74
commit c9616700ca
3 changed files with 22 additions and 2 deletions

View File

@ -1334,6 +1334,7 @@ const struct options_table_entry options_table[] = {
OPTIONS_TABLE_HOOK("client-focus-out", ""),
OPTIONS_TABLE_HOOK("client-resized", ""),
OPTIONS_TABLE_HOOK("client-session-changed", ""),
OPTIONS_TABLE_HOOK("command-error", ""),
OPTIONS_TABLE_PANE_HOOK("pane-died", ""),
OPTIONS_TABLE_PANE_HOOK("pane-exited", ""),
OPTIONS_TABLE_PANE_HOOK("pane-focus-in", ""),