Add some number operators for formats, from Tyler Culp.

This commit is contained in:
nicm
2020-03-11 14:17:55 +00:00
parent 2991f4aad0
commit c820585dd0
4 changed files with 150 additions and 6 deletions

1
tmux.h
View File

@ -1822,6 +1822,7 @@ char *paste_make_sample(struct paste_buffer *);
#define FORMAT_PANE 0x80000000U
#define FORMAT_WINDOW 0x40000000U
struct format_tree;
struct format_modifier;
const char *format_skip(const char *, const char *);
int format_true(const char *);
struct format_tree *format_create(struct client *, struct cmdq_item *, int,