mirror of
https://github.com/tmux/tmux.git
synced 2025-09-02 05:21:10 +00:00
Allow colour to be spelt as color, from Boris Verkhovsky. GitHub issue
2317.
This commit is contained in:
9
tmux.h
9
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 *);
|
||||
|
Reference in New Issue
Block a user