summaryrefslogtreecommitdiffstats
path: root/key-bindings.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2009-12-10 09:16:52 +0000
committerNicholas Marriott <nicm@openbsd.org>2009-12-10 09:16:52 +0000
commita4c9a80dacf405623698acfc971d636bbc0e43c7 (patch)
tree059539758458dfcbcd8348ea471e843f30dc0ab0 /key-bindings.c
parent6311bd119ed728117fd6f0073792a76c2a6b842b (diff)
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 'key-bindings.c')
-rw-r--r--key-bindings.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/key-bindings.c b/key-bindings.c
index 29dedbb2..d536af11 100644
--- a/key-bindings.c
+++ b/key-bindings.c
@@ -224,7 +224,7 @@ key_bindings_info(struct cmd_ctx *ctx, const char *fmt, ...)
va_list ap;
char *msg;
- if (be_quiet)
+ if (options_get_number(&global_options, "quiet"))
return;
va_start(ap, fmt);