From d329b035cee47d968a8c93b5cbd8fde879ce6f0d Mon Sep 17 00:00:00 2001 From: nicm Date: Fri, 24 Jul 2020 07:05:37 +0000 Subject: Add a hook when the pane title changed. --- options-table.c | 1 + 1 file changed, 1 insertion(+) (limited to 'options-table.c') diff --git a/options-table.c b/options-table.c index 54bdadba..95d865ce 100644 --- a/options-table.c +++ b/options-table.c @@ -1121,6 +1121,7 @@ const struct options_table_entry options_table[] = { OPTIONS_TABLE_PANE_HOOK("pane-focus-out", ""), OPTIONS_TABLE_PANE_HOOK("pane-mode-changed", ""), OPTIONS_TABLE_PANE_HOOK("pane-set-clipboard", ""), + OPTIONS_TABLE_PANE_HOOK("pane-title-changed", ""), OPTIONS_TABLE_HOOK("session-closed", ""), OPTIONS_TABLE_HOOK("session-created", ""), OPTIONS_TABLE_HOOK("session-renamed", ""), -- cgit From 20fcdcfea1651d26990ae482cbc0f3594c4cea54 Mon Sep 17 00:00:00 2001 From: nicm Date: Tue, 25 Aug 2020 11:35:32 +0000 Subject: Allow colour to be spelt as color, from Boris Verkhovsky. GitHub issue 2317. --- options-table.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'options-table.c') 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. */ -- cgit