diff options
author | Nicholas Marriott <nicm@openbsd.org> | 2009-12-10 09:16:52 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@openbsd.org> | 2009-12-10 09:16:52 +0000 |
commit | a4c9a80dacf405623698acfc971d636bbc0e43c7 (patch) | |
tree | 059539758458dfcbcd8348ea471e843f30dc0ab0 /server-client.c | |
parent | 6311bd119ed728117fd6f0073792a76c2a6b842b (diff) | |
download | rtmux-a4c9a80dacf405623698acfc971d636bbc0e43c7.tar.gz rtmux-a4c9a80dacf405623698acfc971d636bbc0e43c7.tar.bz2 rtmux-a4c9a80dacf405623698acfc971d636bbc0e43c7.zip |
Add "server options" which are server-wide and not bound to a session or
window. Set and displayed with "set -s" and "show -s".
Currently the only option is "quiet" (like command-line -q, allowing it to be
set from .tmux.conf), but others will come along.
Diffstat (limited to 'server-client.c')
-rw-r--r-- | server-client.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server-client.c b/server-client.c index 80b4429c..02edabc6 100644 --- a/server-client.c +++ b/server-client.c @@ -640,7 +640,7 @@ server_client_msg_info(struct cmd_ctx *ctx, const char *fmt, ...) struct msg_print_data data; va_list ap; - if (be_quiet) + if (options_get_number(&global_options, "quiet")) return; va_start(ap, fmt); |