aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2020-08-25 14:01:19 +0100
committerThomas Adam <thomas@xteddy.org>2020-08-25 14:01:19 +0100
commit655134f77c927f248f180a7f65c658359e10516e (patch)
treecbde1893b025a36bfa47439373015715ed4ec70f /tmux.h
parentaa084bb49e4202198932933c75def4d32af72290 (diff)
parent20fcdcfea1651d26990ae482cbc0f3594c4cea54 (diff)
downloadrtmux-655134f77c927f248f180a7f65c658359e10516e.tar.gz
rtmux-655134f77c927f248f180a7f65c658359e10516e.tar.bz2
rtmux-655134f77c927f248f180a7f65c658359e10516e.zip
Merge branch 'obsd-master'
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 67951215..dce5f140 100644
--- a/tmux.h
+++ b/tmux.h
@@ -1790,6 +1790,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;
@@ -1809,6 +1810,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]"
@@ -2041,7 +2047,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 *);