/SET prompt, /SET prompt_window - Specifies the text in prompt.

'prompt' is used when channel or query is active in window and
'prompt_window' is used with empty windows.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1005 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2000-12-17 07:39:22 +00:00 committed by cras
commit bbc33bff5e
17 changed files with 291 additions and 71 deletions

View file

@ -237,8 +237,10 @@ static char *format_get_text_args(TEXT_DEST_REC *dest,
/* argument */
char *ret;
ret = parse_special((char **) &text, active_win->active_server,
active_win->active, arglist, &need_free, NULL);
ret = parse_special((char **) &text,
active_win->active_server,
active_win->active, arglist,
&need_free, NULL, 0);
if (ret != NULL) {
/* string shouldn't end with \003 or it could