mirror of
https://github.com/weechat/weechat.git
synced 2026-07-03 16:23:14 +02:00
core: add variable "gui_buffers_count", use it in bar item "buffer_count"
Now the bar item "buffer_count" displays the number of opened buffers (each merged buffer counts 1).
This commit is contained in:
@@ -204,6 +204,7 @@ struct t_gui_buffer_visited
|
||||
|
||||
extern struct t_gui_buffer *gui_buffers;
|
||||
extern struct t_gui_buffer *last_gui_buffer;
|
||||
extern int gui_buffers_count;
|
||||
extern struct t_gui_buffer_visited *gui_buffers_visited;
|
||||
extern struct t_gui_buffer_visited *last_gui_buffer_visited;
|
||||
extern int gui_buffers_visited_index;
|
||||
|
||||
Reference in New Issue
Block a user