From babb3abff45b85745baa2c5a5790b25367683ebd Mon Sep 17 00:00:00 2001 From: Sebastien Helleu Date: Tue, 25 Mar 2014 10:56:05 +0100 Subject: exec: allow clear of new buffers with /buffer clear --- src/plugins/exec/exec-buffer.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/plugins/exec/exec-buffer.c b/src/plugins/exec/exec-buffer.c index f8abd3295..0ddbc8dbe 100644 --- a/src/plugins/exec/exec-buffer.c +++ b/src/plugins/exec/exec-buffer.c @@ -147,6 +147,7 @@ exec_buffer_new (const char *name, int free_content, int clear_buffer, if (free_content) weechat_buffer_set (new_buffer, "type", "free"); + weechat_buffer_set (new_buffer, "clear", "1"); weechat_buffer_set (new_buffer, "title", _("Executed commands")); weechat_buffer_set (new_buffer, "localvar_set_type", "exec"); weechat_buffer_set (new_buffer, "localvar_set_no_log", "1"); -- cgit v1.2.3