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

core: add buffer property "modes"

This commit is contained in:
Sébastien Helleu
2024-05-12 09:26:10 +02:00
parent e57777acb1
commit e7b2d98b6e
11 changed files with 114 additions and 8 deletions
+3
View File
@@ -523,6 +523,9 @@ upgrade_weechat_read_buffer (struct t_infolist *infolist)
ptr_buffer->title = (str) ? strdup (str) : NULL;
}
/* modes */
gui_buffer_set_modes (ptr_buffer, infolist_string (infolist, "modes"));
/* first line not read */
ptr_buffer->lines->first_line_not_read =
infolist_integer (infolist, "first_line_not_read");