diff options
author | Nicholas Marriott <nicm@openbsd.org> | 2009-07-23 12:33:48 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@openbsd.org> | 2009-07-23 12:33:48 +0000 |
commit | 96a7cf1e6a133979eca4d1a8bf0e3bc3887a886d (patch) | |
tree | 933d922adf8575d75ff592501a8dc25730ecf76a /tmux.h | |
parent | 05b511f96aeede18a6cc9b7e1e1edb4bb4f70dd7 (diff) |
Both of cmdclient and curclient CAN be NULL - if the command is executed from
the configuration file. In this case, attach-session can't do much, and
new-session should just assume -d.
Diffstat (limited to 'tmux.h')
-rw-r--r-- | tmux.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -862,7 +862,8 @@ struct cmd_ctx { * cmdclient is the client which sent the MSG_COMMAND to the server, if * any. This is NULL unless the command came from the command-line. * - * One of curclient or cmdclient is always NULL and the other not. + * cmdclient and curclient may both be NULL if the command is in the + * configuration file. */ struct client *curclient; struct session *cursession; |