mirror of
https://github.com/tmux/tmux.git
synced 2025-09-01 20:57:00 +00:00
Add CMD_AFTERHOOK flag to the easy commands that don't need any special handling.
This commit is contained in:
@ -33,7 +33,7 @@ const struct cmd_entry cmd_lock_server_entry = {
|
||||
.args = { "", 0, 0 },
|
||||
.usage = "",
|
||||
|
||||
.flags = 0,
|
||||
.flags = CMD_AFTERHOOK,
|
||||
.exec = cmd_lock_server_exec
|
||||
};
|
||||
|
||||
@ -46,7 +46,7 @@ const struct cmd_entry cmd_lock_session_entry = {
|
||||
|
||||
.tflag = CMD_SESSION,
|
||||
|
||||
.flags = 0,
|
||||
.flags = CMD_AFTERHOOK,
|
||||
.exec = cmd_lock_server_exec
|
||||
};
|
||||
|
||||
@ -59,7 +59,7 @@ const struct cmd_entry cmd_lock_client_entry = {
|
||||
|
||||
.tflag = CMD_CLIENT,
|
||||
|
||||
.flags = 0,
|
||||
.flags = CMD_AFTERHOOK,
|
||||
.exec = cmd_lock_server_exec
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user