From 472d77fd0f4af8431267473df3cf109030760fa1 Mon Sep 17 00:00:00 2001 From: nicm Date: Sat, 16 May 2020 15:54:20 +0000 Subject: Support embedded styles in the display-message message, GitHub issue 2206. --- tmux.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'tmux.h') diff --git a/tmux.h b/tmux.h index bd746fe7..385ba212 100644 --- a/tmux.h +++ b/tmux.h @@ -1603,6 +1603,7 @@ struct client { uint64_t redraw_panes; + int message_ignore_styles; char *message_string; struct event message_timer; @@ -2340,7 +2341,8 @@ struct style_range *status_get_range(struct client *, u_int, u_int); void status_init(struct client *); void status_free(struct client *); int status_redraw(struct client *); -void printflike(2, 3) status_message_set(struct client *, const char *, ...); +void printflike(3, 4) status_message_set(struct client *, int, const char *, + ...); void status_message_clear(struct client *); int status_message_redraw(struct client *); void status_prompt_set(struct client *, const char *, const char *, -- cgit