summaryrefslogtreecommitdiff
path: root/src/plugins/exec
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/exec')
-rw-r--r--src/plugins/exec/exec-buffer.c1
1 files changed, 1 insertions, 0 deletions
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");