diff options
author | nicm <nicm> | 2020-08-25 11:35:32 +0000 |
---|---|---|
committer | nicm <nicm> | 2020-08-25 11:35:32 +0000 |
commit | 20fcdcfea1651d26990ae482cbc0f3594c4cea54 (patch) | |
tree | 0783866907115878eacdcc701b27dc101406e9e1 /options-table.c | |
parent | e4a4fcfc90b09774cb15b030689e977fefe12678 (diff) | |
download | rtmux-20fcdcfea1651d26990ae482cbc0f3594c4cea54.tar.gz rtmux-20fcdcfea1651d26990ae482cbc0f3594c4cea54.tar.bz2 rtmux-20fcdcfea1651d26990ae482cbc0f3594c4cea54.zip |
Allow colour to be spelt as color, from Boris Verkhovsky. GitHub issue
2317.
Diffstat (limited to 'options-table.c')
-rw-r--r-- | options-table.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/options-table.c b/options-table.c index 95d865ce..2ae49d7a 100644 --- a/options-table.c +++ b/options-table.c @@ -171,6 +171,14 @@ static const char *options_table_status_format_default[] = { .separator = "" \ } +/* Map of name conversions. */ +const struct options_name_map options_other_names[] = { + { "display-panes-color", "display-panes-colour" }, + { "display-panes-active-color", "display-panes-active-colour" }, + { "clock-mode-color", "clock-mode-colour" }, + { NULL, NULL } +}; + /* Top-level options. */ const struct options_table_entry options_table[] = { /* Server options. */ |