1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-29 06:16:40 +02:00

core: send signal "buffer_line_added" on buffers with free content (issue #2066)

The signal "buffer_line_added" is now sent for every line added or modified on
a buffer with free content.
This commit is contained in:
Sébastien Helleu
2024-05-01 11:27:27 +02:00
parent c47e4fa883
commit c5268bc5f9
3 changed files with 11 additions and 0 deletions
+4
View File
@@ -2049,6 +2049,10 @@ gui_line_add_y (struct t_gui_line *line)
ptr_line->data->refresh_needed = 1;
gui_buffer_ask_chat_refresh (ptr_line->data->buffer, 1);
(void) gui_buffer_send_signal (ptr_line->data->buffer,
"buffer_line_added",
WEECHAT_HOOK_SIGNAL_POINTER, ptr_line);
}
/*