mirror of
https://github.com/weechat/weechat.git
synced 2026-06-29 22:36:38 +02:00
Use tag "no_highlight" for backlog lines printed by logger plugin
This commit is contained in:
@@ -942,13 +942,20 @@ logger_backlog (struct t_gui_buffer *buffer, const char *filename, int lines)
|
||||
if (pos_message)
|
||||
{
|
||||
if (datetime != 0)
|
||||
weechat_printf_date (buffer, datetime, "%s", pos_message + 1);
|
||||
{
|
||||
weechat_printf_date_tags (buffer, datetime, "no_highlight",
|
||||
"%s", pos_message + 1);
|
||||
}
|
||||
else
|
||||
weechat_printf (buffer, "%s", ptr_lines->data);
|
||||
{
|
||||
weechat_printf_tags (buffer, "no_highlight",
|
||||
"%s", ptr_lines->data);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
weechat_printf (buffer, "%s", ptr_lines->data);
|
||||
weechat_printf_tags (buffer, "no_highlight",
|
||||
"%s", ptr_lines->data);
|
||||
}
|
||||
num_lines++;
|
||||
ptr_lines = ptr_lines->next_line;
|
||||
|
||||
Reference in New Issue
Block a user