Add cmdq as an argument to format_create and add a format for the

command name (will also be used for more later).
This commit is contained in:
nicm
2015-12-11 12:27:36 +00:00
parent e0f26dcda3
commit 01831da5f5
23 changed files with 32 additions and 28 deletions

2
tmux.h
View File

@ -1492,7 +1492,7 @@ char *paste_make_sample(struct paste_buffer *);
#define FORMAT_STATUS 0x1
#define FORMAT_FORCE 0x2
struct format_tree;
struct format_tree *format_create(int);
struct format_tree *format_create(struct cmd_q *, int);
void format_free(struct format_tree *);
void printflike(3, 4) format_add(struct format_tree *, const char *,
const char *, ...);