diff options
author | Tiago Cunha <tcunha@gmx.com> | 2009-12-10 16:59:02 +0000 |
---|---|---|
committer | Tiago Cunha <tcunha@gmx.com> | 2009-12-10 16:59:02 +0000 |
commit | dcdd2fb09497d9b568077afd0248f1f5156389f6 (patch) | |
tree | a608c55a40d668c5838d6138dc1e273450e50d61 /key-bindings.c | |
parent | 328861e330f7dac0c4d2c0bdbb58f59d2f5b78aa (diff) | |
download | rtmux-dcdd2fb09497d9b568077afd0248f1f5156389f6.tar.gz rtmux-dcdd2fb09497d9b568077afd0248f1f5156389f6.tar.bz2 rtmux-dcdd2fb09497d9b568077afd0248f1f5156389f6.zip |
Sync OpenBSD patchset 585:
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.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/key-bindings.c b/key-bindings.c index 1b9c0650..3af974f8 100644 --- a/key-bindings.c +++ b/key-bindings.c @@ -1,4 +1,4 @@ -/* $Id: key-bindings.c,v 1.86 2009-12-04 22:14:47 tcunha Exp $ */ +/* $Id: key-bindings.c,v 1.87 2009-12-10 16:59:02 tcunha Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -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); |