Support embedded styles in the display-message message, GitHub issue 2206.

This commit is contained in:
Nicholas Marriott
2020-05-11 09:18:00 +01:00
parent 8502517d30
commit c489bf0a1e
8 changed files with 19 additions and 11 deletions

4
tmux.h
View File

@ -1607,6 +1607,7 @@ struct client {
uint64_t redraw_panes;
int message_ignore_styles;
char *message_string;
struct event message_timer;
@ -2354,7 +2355,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 *,