Command prompt for interactive commands.

This commit is contained in:
Nicholas Marriott
2008-06-19 20:45:21 +00:00
parent c3b7a49cc1
commit 74d8f0bf1d
9 changed files with 291 additions and 33 deletions

View File

@ -1,4 +1,4 @@
/* $Id: server-fn.c,v 1.44 2008-06-19 19:40:34 nicm Exp $ */
/* $Id: server-fn.c,v 1.45 2008-06-19 20:45:20 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@ -200,18 +200,3 @@ server_status_window(struct window *w)
server_status_session(s);
}
}
void printflike2
server_write_message(struct client *c, const char *fmt, ...)
{
va_list ap;
char *msg;
va_start(ap, fmt);
xvasprintf(&msg, fmt, ap);
va_end(ap);
server_set_client_message(c, msg);
xfree(msg);
}