1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-24 20:06:38 +02:00

Use tags "no_log" and "cmd_history" for output of command /history (output is not logged and can be filtered on tag)

This commit is contained in:
Sebastien Helleu
2010-07-28 11:33:11 +02:00
parent a45048bfbf
commit 734fe231c9
+5 -3
View File
@@ -1862,10 +1862,12 @@ command_history (void *data, struct t_gui_buffer *buffer,
continue;
if (!displayed)
{
gui_chat_printf (buffer, "");
gui_chat_printf (buffer, _("Buffer command history:"));
gui_chat_printf_date_tags (buffer, 0, "no_log,cmd_history", "");
gui_chat_printf_date_tags (buffer, 0, "no_log,cmd_history",
_("Buffer command history:"));
}
gui_chat_printf (buffer, "%s", ptr_history->text);
gui_chat_printf_date_tags (buffer, 0, "no_log,cmd_history",
"%s", ptr_history->text);
displayed = 1;
}
}