mirror of
https://github.com/weechat/weechat.git
synced 2026-06-25 12:26:40 +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:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user