diff options
author | nicm <nicm> | 2014-12-02 23:19:45 +0000 |
---|---|---|
committer | nicm <nicm> | 2014-12-02 23:19:45 +0000 |
commit | 575fd1e322b15a3e9f0d1892ebb82c2e8a30ba46 (patch) | |
tree | f60aff5db52f284b82420cb195f0ce6cb66ea9da /tmux.h | |
parent | e52d7912122177ddff952feccc192a3f357b9d1b (diff) | |
download | rtmux-575fd1e322b15a3e9f0d1892ebb82c2e8a30ba46.tar.gz rtmux-575fd1e322b15a3e9f0d1892ebb82c2e8a30ba46.tar.bz2 rtmux-575fd1e322b15a3e9f0d1892ebb82c2e8a30ba46.zip |
Permit option values to be used in formats.
Diffstat (limited to 'tmux.h')
-rw-r--r-- | tmux.h | 12 |
1 files changed, 1 insertions, 11 deletions
@@ -1461,15 +1461,6 @@ struct options_table_entry { const char *style; }; -/* Tree of format entries. */ -struct format_entry { - char *key; - char *value; - - RB_ENTRY(format_entry) entry; -}; -RB_HEAD(format_tree, format_entry); - /* Common command usages. */ #define CMD_TARGET_PANE_USAGE "[-t target-pane]" #define CMD_TARGET_WINDOW_USAGE "[-t target-window]" @@ -1513,8 +1504,7 @@ void cfg_print_causes(struct cmd_q *); void cfg_show_causes(struct session *); /* format.c */ -int format_cmp(struct format_entry *, struct format_entry *); -RB_PROTOTYPE(format_tree, format_entry, entry, format_cmp); +struct format_tree; struct format_tree *format_create(void); void format_free(struct format_tree *); void printflike(3, 4) format_add(struct format_tree *, const char *, |