diff options
author | nicm <nicm> | 2015-11-20 12:01:19 +0000 |
---|---|---|
committer | nicm <nicm> | 2015-11-20 12:01:19 +0000 |
commit | fce56c56efc57e80cc3ed755c192cf88822ebf0e (patch) | |
tree | ac91bccebcaebc7738e248e4f0564e6ad52078d0 /tmux.c | |
parent | 374e273df5f66e90e06f60617495446facfbd4f3 (diff) | |
download | rtmux-fce56c56efc57e80cc3ed755c192cf88822ebf0e.tar.gz rtmux-fce56c56efc57e80cc3ed755c192cf88822ebf0e.tar.bz2 rtmux-fce56c56efc57e80cc3ed755c192cf88822ebf0e.zip |
Instead of separate tables for different types of options, give each
option a scope type (server, session, window) in one table.
Diffstat (limited to 'tmux.c')
-rw-r--r-- | tmux.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -288,14 +288,14 @@ main(int argc, char **argv) environ_set(global_environ, "PWD", tmp); global_options = options_create(NULL); - options_table_populate_tree(server_options_table, global_options); + options_table_populate_tree(OPTIONS_TABLE_SERVER, global_options); global_s_options = options_create(NULL); - options_table_populate_tree(session_options_table, global_s_options); + options_table_populate_tree(OPTIONS_TABLE_SESSION, global_s_options); options_set_string(global_s_options, "default-shell", "%s", getshell()); global_w_options = options_create(NULL); - options_table_populate_tree(window_options_table, global_w_options); + options_table_populate_tree(OPTIONS_TABLE_WINDOW, global_w_options); /* Override keys to vi if VISUAL or EDITOR are set. */ if ((s = getenv("VISUAL")) != NULL || (s = getenv("EDITOR")) != NULL) { |