diff options
author | nicm <nicm> | 2017-03-08 13:36:12 +0000 |
---|---|---|
committer | nicm <nicm> | 2017-03-08 13:36:12 +0000 |
commit | 6b2009ad725b662853b8e94aee233fabdc5490f9 (patch) | |
tree | a38064466deb34fce243a7051e0139afc6c56080 /tmux.h | |
parent | 1e6e606f54537c732cce48e5d3eae7fc29281fe5 (diff) | |
download | rtmux-6b2009ad725b662853b8e94aee233fabdc5490f9.tar.gz rtmux-6b2009ad725b662853b8e94aee233fabdc5490f9.tar.bz2 rtmux-6b2009ad725b662853b8e94aee233fabdc5490f9.zip |
Add a helper function for the most common format_create/defaults/expand
pattern.
Diffstat (limited to 'tmux.h')
-rw-r--r-- | tmux.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -1508,6 +1508,9 @@ void printflike(3, 4) format_add(struct format_tree *, const char *, const char *, ...); char *format_expand_time(struct format_tree *, const char *, time_t); char *format_expand(struct format_tree *, const char *); +char *format_single(struct cmdq_item *, const char *, + struct client *, struct session *, struct winlink *, + struct window_pane *); void format_defaults(struct format_tree *, struct client *, struct session *, struct winlink *, struct window_pane *); void format_defaults_window(struct format_tree *, struct window *); |