aboutsummaryrefslogtreecommitdiff
path: root/options-table.c
diff options
context:
space:
mode:
authornicm <nicm>2015-04-19 21:05:27 +0000
committernicm <nicm>2015-04-19 21:05:27 +0000
commitee123c248951450100475717f5bd45f292d9bb4d (patch)
tree84a865000a9d0ba60d891114c88f6d36c283b5c3 /options-table.c
parent4a7587931ce54aa1a94a104480113d658c295b6b (diff)
downloadrtmux-ee123c248951450100475717f5bd45f292d9bb4d.tar.gz
rtmux-ee123c248951450100475717f5bd45f292d9bb4d.tar.bz2
rtmux-ee123c248951450100475717f5bd45f292d9bb4d.zip
Support setting the default window and pane background colours (window
and active pane via window-style and window-active-style options, an individual pane by a new select-pane -P flag). From J Raynor.
Diffstat (limited to 'options-table.c')
-rw-r--r--options-table.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/options-table.c b/options-table.c
index fb231f7d..5e72d14f 100644
--- a/options-table.c
+++ b/options-table.c
@@ -668,6 +668,16 @@ const struct options_table_entry window_options_table[] = {
.default_num = 0 /* overridden in main() */
},
+ { .name = "window-active-style",
+ .type = OPTIONS_TABLE_STYLE,
+ .default_str = "default"
+ },
+
+ { .name = "window-style",
+ .type = OPTIONS_TABLE_STYLE,
+ .default_str = "default"
+ },
+
{ .name = "window-status-activity-attr",
.type = OPTIONS_TABLE_ATTRIBUTES,
.default_num = GRID_ATTR_REVERSE,