1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-29 14:26:39 +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
+5
View File
@@ -146,6 +146,9 @@ struct t_gui_buffer
/* buffer title */
char *title; /* buffer title */
/* buffer modes */
char *modes; /* buffer modes */
/* chat content */
struct t_gui_lines *own_lines; /* lines (for this buffer only) */
struct t_gui_lines *mixed_lines; /* mixed lines (if buffers merged) */
@@ -373,6 +376,8 @@ extern void gui_buffer_ask_chat_refresh (struct t_gui_buffer *buffer,
int refresh);
extern void gui_buffer_set_title (struct t_gui_buffer *buffer,
const char *new_title);
extern void gui_buffer_set_modes (struct t_gui_buffer *buffer,
const char *new_modes);
extern void gui_buffer_set_highlight_words (struct t_gui_buffer *buffer,
const char *new_highlight_words);
extern void gui_buffer_set_highlight_disable_regex (struct t_gui_buffer *buffer,