From a4c9a80dacf405623698acfc971d636bbc0e43c7 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Thu, 10 Dec 2009 09:16:52 +0000 Subject: 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. --- key-bindings.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'key-bindings.c') 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); -- cgit v1.2.3