mirror of
https://github.com/tmux/tmux.git
synced 2026-08-08 00:00:52 +00:00
4289a1ebfa7479413ec5ac543b88c4ea039d00a0
confusing, particularly trying to automatically figure out what target hooks should be using. So simplify it: - drop before hooks entirely, they don't seem to be very useful; - commands with special requirements now fire their own after hook (for example, if they change session or window, or if they have -t and -s and need to choose which one the hook uses as current target); - commands with no special requirements can have the CMD_AFTERHOOK flag added and they will use the -t state. At the moment new-session, new-window, split-window fire their own hook, and display-message uses the flag. The remaining commands still need to be looked at.
Description
tmux source code
Languages
C
76.3%
Shell
15.5%
Roff
6%
Yacc
1%
M4
0.7%
Other
0.4%