diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2014-03-25 10:56:05 +0100 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2014-03-25 10:56:05 +0100 |
commit | babb3abff45b85745baa2c5a5790b25367683ebd (patch) | |
tree | b8633893818553d74eca43871b79b39a0ea6407e /src/plugins | |
parent | 92ec36eced36b0832ce90c417ae1bddbf4a7d2e4 (diff) | |
download | weechat-babb3abff45b85745baa2c5a5790b25367683ebd.zip |
exec: allow clear of new buffers with /buffer clear
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/exec/exec-buffer.c | 1 |
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"); |