Allow colour to be spelt as color, from Boris Verkhovsky. GitHub issue

2317.
This commit is contained in:
nicm
2020-08-25 11:35:32 +00:00
parent e4a4fcfc90
commit 20fcdcfea1
4 changed files with 52 additions and 13 deletions

View File

@ -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. */