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 /tmux.h | |
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 'tmux.h')
-rw-r--r-- | tmux.h | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -1788,6 +1788,7 @@ enum options_table_type { struct options_table_entry { const char *name; + const char *alternative_name; enum options_table_type type; int scope; int flags; @@ -1807,6 +1808,11 @@ struct options_table_entry { const char *unit; }; +struct options_name_map { + const char *from; + const char *to; +}; + /* Common command usages. */ #define CMD_TARGET_PANE_USAGE "[-t target-pane]" #define CMD_TARGET_WINDOW_USAGE "[-t target-window]" @@ -2039,7 +2045,8 @@ int options_remove_or_default(struct options_entry *, int, char **); /* options-table.c */ -extern const struct options_table_entry options_table[]; +extern const struct options_table_entry options_table[]; +extern const struct options_name_map options_other_names[]; /* job.c */ typedef void (*job_update_cb) (struct job *); |