aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
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 /tmux.h
parent6311bd119ed728117fd6f0073792a76c2a6b842b (diff)
downloadrtmux-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 'tmux.h')
-rw-r--r--tmux.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/tmux.h b/tmux.h
index cf42a85c..e9d11f65 100644
--- a/tmux.h
+++ b/tmux.h
@@ -1235,6 +1235,7 @@ struct set_option_entry {
};
/* tmux.c */
+extern struct options global_options;
extern struct options global_s_options;
extern struct options global_w_options;
extern struct environ global_environ;
@@ -1391,6 +1392,7 @@ extern const char clock_table[14][5][5];
void clock_draw(struct screen_write_ctx *, int, int);
/* cmd-set-option.c */
+extern const struct set_option_entry set_option_table[];
extern const struct set_option_entry set_session_option_table[];
extern const struct set_option_entry set_window_option_table[];
const char *cmd_set_option_print(