[BACK]Return to tmux.1 CVS log [TXT][DIR] Up to [local] / src / usr.bin / tmux

Diff for /src/usr.bin/tmux/tmux.1 between version 1.942 and 1.943

version 1.942, 2024/05/14 07:40:39 version 1.943, 2024/05/14 07:52:19
Line 4889 
Line 4889 
 set-hook -g after-split-window "selectl even-vertical"  set-hook -g after-split-window "selectl even-vertical"
 .Ed  .Ed
 .Pp  .Pp
   If a command fails, the
   .Ql command-error
   hook will be fired.
   For example, this could be used to write to a log file:
   .Bd -literal -offset indent
   set-hook -g command-error "run-shell \\"echo 'a tmux command failed' >>/tmp/log\\""
   .Ed
   .Pp
 All the notifications listed in the  All the notifications listed in the
 .Sx CONTROL MODE  .Sx CONTROL MODE
 section are hooks (without any arguments), except  section are hooks (without any arguments), except
Line 4921 
Line 4929 
 Run when a client is resized.  Run when a client is resized.
 .It client-session-changed  .It client-session-changed
 Run when a client's attached session is changed.  Run when a client's attached session is changed.
   .It command-error
   Run when a command fails.
 .It pane-died  .It pane-died
 Run when the program running in a pane exits, but  Run when the program running in a pane exits, but
 .Ic remain-on-exit  .Ic remain-on-exit

Legend:
Removed from v.1.942  
changed lines
  Added in v.1.943