aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
diff options
context:
space:
mode:
authornicm <nicm>2020-08-25 11:35:32 +0000
committernicm <nicm>2020-08-25 11:35:32 +0000
commit20fcdcfea1651d26990ae482cbc0f3594c4cea54 (patch)
tree0783866907115878eacdcc701b27dc101406e9e1 /tmux.h
parente4a4fcfc90b09774cb15b030689e977fefe12678 (diff)
downloadrtmux-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.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/tmux.h b/tmux.h
index daba4b25..76953c3e 100644
--- a/tmux.h
+++ b/tmux.h
@@ -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 *);