diff options
author | nicm <nicm> | 2019-03-18 21:46:01 +0000 |
---|---|---|
committer | nicm <nicm> | 2019-03-18 21:46:01 +0000 |
commit | f34ebfed7698ce41fe7bae756c0bb0c485e8bfdb (patch) | |
tree | 4616d578f2334bf5a0cb2cc0ab4bc00e902da674 /options-table.c | |
parent | c62404673e873c7fae7151a6e910f1b9354b7ecf (diff) | |
download | rtmux-f34ebfed7698ce41fe7bae756c0bb0c485e8bfdb.tar.gz rtmux-f34ebfed7698ce41fe7bae756c0bb0c485e8bfdb.tar.bz2 rtmux-f34ebfed7698ce41fe7bae756c0bb0c485e8bfdb.zip |
The individual -fg, -bg and -attr options have been deprecated (in
favour of -style), undocumented and hidden from show-options since
2014. Remove them, except for status-fg and status-bg.
Diffstat (limited to 'options-table.c')
-rw-r--r-- | options-table.c | 247 |
1 files changed, 0 insertions, 247 deletions
diff --git a/options-table.c b/options-table.c index a2a3ffe6..d4a64b38 100644 --- a/options-table.c +++ b/options-table.c @@ -315,54 +315,12 @@ const struct options_table_entry options_table[] = { .default_str = "lock -np" }, - { .name = "message-attr", - .type = OPTIONS_TABLE_ATTRIBUTES, - .scope = OPTIONS_TABLE_SESSION, - .default_num = 0, - .style = "message-style" - }, - - { .name = "message-bg", - .type = OPTIONS_TABLE_COLOUR, - .scope = OPTIONS_TABLE_SESSION, - .default_num = 3, - .style = "message-style" - }, - - { .name = "message-command-attr", - .type = OPTIONS_TABLE_ATTRIBUTES, - .scope = OPTIONS_TABLE_SESSION, - .default_num = 0, - .style = "message-command-style" - }, - - { .name = "message-command-bg", - .type = OPTIONS_TABLE_COLOUR, - .scope = OPTIONS_TABLE_SESSION, - .default_num = 0, - .style = "message-command-style" - }, - - { .name = "message-command-fg", - .type = OPTIONS_TABLE_COLOUR, - .scope = OPTIONS_TABLE_SESSION, - .default_num = 3, - .style = "message-command-style" - }, - { .name = "message-command-style", .type = OPTIONS_TABLE_STYLE, .scope = OPTIONS_TABLE_SESSION, .default_str = "bg=black,fg=yellow" }, - { .name = "message-fg", - .type = OPTIONS_TABLE_COLOUR, - .scope = OPTIONS_TABLE_SESSION, - .default_num = 0, - .style = "message-style" - }, - { .name = "message-style", .type = OPTIONS_TABLE_STYLE, .scope = OPTIONS_TABLE_SESSION, @@ -427,25 +385,16 @@ const struct options_table_entry options_table[] = { .default_num = 1 }, - { .name = "status-attr", - .type = OPTIONS_TABLE_ATTRIBUTES, - .scope = OPTIONS_TABLE_SESSION, - .default_num = 0, - .style = "status-style" - }, - { .name = "status-bg", .type = OPTIONS_TABLE_COLOUR, .scope = OPTIONS_TABLE_SESSION, .default_num = 2, - .style = "status-style" }, { .name = "status-fg", .type = OPTIONS_TABLE_COLOUR, .scope = OPTIONS_TABLE_SESSION, .default_num = 0, - .style = "status-style" }, { .name = "status-format", @@ -482,27 +431,6 @@ const struct options_table_entry options_table[] = { .default_str = "[#S] " }, - { .name = "status-left-attr", - .type = OPTIONS_TABLE_ATTRIBUTES, - .scope = OPTIONS_TABLE_SESSION, - .default_num = 0, - .style = "status-left-style" - }, - - { .name = "status-left-bg", - .type = OPTIONS_TABLE_COLOUR, - .scope = OPTIONS_TABLE_SESSION, - .default_num = 8, - .style = "status-left-style" - }, - - { .name = "status-left-fg", - .type = OPTIONS_TABLE_COLOUR, - .scope = OPTIONS_TABLE_SESSION, - .default_num = 8, - .style = "status-left-style" - }, - { .name = "status-left-length", .type = OPTIONS_TABLE_NUMBER, .scope = OPTIONS_TABLE_SESSION, @@ -532,27 +460,6 @@ const struct options_table_entry options_table[] = { "\"#{=21:pane_title}\" %H:%M %d-%b-%y" }, - { .name = "status-right-attr", - .type = OPTIONS_TABLE_ATTRIBUTES, - .scope = OPTIONS_TABLE_SESSION, - .default_num = 0, - .style = "status-right-style" - }, - - { .name = "status-right-bg", - .type = OPTIONS_TABLE_COLOUR, - .scope = OPTIONS_TABLE_SESSION, - .default_num = 8, - .style = "status-right-style" - }, - - { .name = "status-right-fg", - .type = OPTIONS_TABLE_COLOUR, - .scope = OPTIONS_TABLE_SESSION, - .default_num = 8, - .style = "status-right-style" - }, - { .name = "status-right-length", .type = OPTIONS_TABLE_NUMBER, .scope = OPTIONS_TABLE_SESSION, @@ -667,27 +574,6 @@ const struct options_table_entry options_table[] = { .default_num = 80 }, - { .name = "mode-attr", - .type = OPTIONS_TABLE_ATTRIBUTES, - .scope = OPTIONS_TABLE_WINDOW, - .default_num = 0, - .style = "mode-style" - }, - - { .name = "mode-bg", - .type = OPTIONS_TABLE_COLOUR, - .scope = OPTIONS_TABLE_WINDOW, - .default_num = 3, - .style = "mode-style" - }, - - { .name = "mode-fg", - .type = OPTIONS_TABLE_COLOUR, - .scope = OPTIONS_TABLE_WINDOW, - .default_num = 0, - .style = "mode-style" - }, - { .name = "mode-keys", .type = OPTIONS_TABLE_CHOICE, .scope = OPTIONS_TABLE_WINDOW, @@ -737,20 +623,6 @@ const struct options_table_entry options_table[] = { .default_num = 0 }, - { .name = "pane-active-border-bg", - .type = OPTIONS_TABLE_COLOUR, - .scope = OPTIONS_TABLE_WINDOW, - .default_num = 8, - .style = "pane-active-border-style" - }, - - { .name = "pane-active-border-fg", - .type = OPTIONS_TABLE_COLOUR, - .scope = OPTIONS_TABLE_WINDOW, - .default_num = 2, - .style = "pane-active-border-style" - }, - { .name = "pane-active-border-style", .type = OPTIONS_TABLE_STYLE, .scope = OPTIONS_TABLE_WINDOW, @@ -765,20 +637,6 @@ const struct options_table_entry options_table[] = { .default_num = 0 }, - { .name = "pane-border-bg", - .type = OPTIONS_TABLE_COLOUR, - .scope = OPTIONS_TABLE_WINDOW, - .default_num = 8, - .style = "pane-border-style" - }, - - { .name = "pane-border-fg", - .type = OPTIONS_TABLE_COLOUR, - .scope = OPTIONS_TABLE_WINDOW, - .default_num = 8, - .style = "pane-border-style" - }, - { .name = "pane-border-format", .type = OPTIONS_TABLE_STRING, .scope = OPTIONS_TABLE_WINDOW, @@ -830,95 +688,18 @@ const struct options_table_entry options_table[] = { .default_str = "default" }, - { .name = "window-status-activity-attr", - .type = OPTIONS_TABLE_ATTRIBUTES, - .scope = OPTIONS_TABLE_WINDOW, - .default_num = GRID_ATTR_REVERSE, - .style = "window-status-activity-style" - }, - - { .name = "window-status-activity-bg", - .type = OPTIONS_TABLE_COLOUR, - .scope = OPTIONS_TABLE_WINDOW, - .default_num = 8, - .style = "window-status-activity-style" - }, - - { .name = "window-status-activity-fg", - .type = OPTIONS_TABLE_COLOUR, - .scope = OPTIONS_TABLE_WINDOW, - .default_num = 8, - .style = "window-status-activity-style" - }, - { .name = "window-status-activity-style", .type = OPTIONS_TABLE_STYLE, .scope = OPTIONS_TABLE_WINDOW, .default_str = "reverse" }, - { .name = "window-status-attr", - .type = OPTIONS_TABLE_ATTRIBUTES, - .scope = OPTIONS_TABLE_WINDOW, - .default_num = 0, - .style = "window-status-style" - }, - - { .name = "window-status-bell-attr", - .type = OPTIONS_TABLE_ATTRIBUTES, - .scope = OPTIONS_TABLE_WINDOW, - .default_num = GRID_ATTR_REVERSE, - .style = "window-status-bell-style" - }, - - { .name = "window-status-bell-bg", - .type = OPTIONS_TABLE_COLOUR, - .scope = OPTIONS_TABLE_WINDOW, - .default_num = 8, - .style = "window-status-bell-style" - }, - - { .name = "window-status-bell-fg", - .type = OPTIONS_TABLE_COLOUR, - .scope = OPTIONS_TABLE_WINDOW, - .default_num = 8, - .style = "window-status-bell-style" - }, - { .name = "window-status-bell-style", .type = OPTIONS_TABLE_STYLE, .scope = OPTIONS_TABLE_WINDOW, .default_str = "reverse" }, - { .name = "window-status-bg", - .type = OPTIONS_TABLE_COLOUR, - .scope = OPTIONS_TABLE_WINDOW, - .default_num = 8, - .style = "window-status-style" - }, - - { .name = "window-status-current-attr", - .type = OPTIONS_TABLE_ATTRIBUTES, - .scope = OPTIONS_TABLE_WINDOW, - .default_num = 0, - .style = "window-status-current-style" - }, - - { .name = "window-status-current-bg", - .type = OPTIONS_TABLE_COLOUR, - .scope = OPTIONS_TABLE_WINDOW, - .default_num = 8, - .style = "window-status-current-style" - }, - - { .name = "window-status-current-fg", - .type = OPTIONS_TABLE_COLOUR, - .scope = OPTIONS_TABLE_WINDOW, - .default_num = 8, - .style = "window-status-current-style" - }, - { .name = "window-status-current-format", .type = OPTIONS_TABLE_STRING, .scope = OPTIONS_TABLE_WINDOW, @@ -931,40 +712,12 @@ const struct options_table_entry options_table[] = { .default_str = "default" }, - { .name = "window-status-fg", - .type = OPTIONS_TABLE_COLOUR, - .scope = OPTIONS_TABLE_WINDOW, - .default_num = 8, - .style = "window-status-style" - }, - { .name = "window-status-format", .type = OPTIONS_TABLE_STRING, .scope = OPTIONS_TABLE_WINDOW, .default_str = "#I:#W#{?window_flags,#{window_flags}, }" }, - { .name = "window-status-last-attr", - .type = OPTIONS_TABLE_ATTRIBUTES, - .scope = OPTIONS_TABLE_WINDOW, - .default_num = 0, - .style = "window-status-last-style" - }, - - { .name = "window-status-last-bg", - .type = OPTIONS_TABLE_COLOUR, - .scope = OPTIONS_TABLE_WINDOW, - .default_num = 8, - .style = "window-status-last-style" - }, - - { .name = "window-status-last-fg", - .type = OPTIONS_TABLE_COLOUR, - .scope = OPTIONS_TABLE_WINDOW, - .default_num = 8, - .style = "window-status-last-style" - }, - { .name = "window-status-last-style", .type = OPTIONS_TABLE_STYLE, .scope = OPTIONS_TABLE_WINDOW, |