mirror of
https://github.com/tmux/tmux.git
synced 2025-09-02 05:21:10 +00:00
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.
This commit is contained in:
2
tmux.h
2
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(
|
||||
|
Reference in New Issue
Block a user