Sync OpenBSD patchset 549:

Don't interpret #() for display-message, it usually doesn't make sense and may
leak commands.
This commit is contained in:
Tiago Cunha
2009-11-19 22:25:52 +00:00
parent a5ae0dc216
commit 563f34477a
5 changed files with 36 additions and 21 deletions

4
tmux.h
View File

@ -1,4 +1,4 @@
/* $Id: tmux.h,v 1.519 2009-11-19 22:23:27 tcunha Exp $ */
/* $Id: tmux.h,v 1.520 2009-11-19 22:25:52 tcunha Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@ -1616,7 +1616,7 @@ void server_update_event(struct client *);
/* status.c */
int status_redraw(struct client *);
char *status_replace(struct client *, const char *, time_t);
char *status_replace(struct client *, const char *, time_t, int);
void printflike2 status_message_set(struct client *, const char *, ...);
void status_message_clear(struct client *);
int status_message_redraw(struct client *);