mirror of
https://github.com/weechat/weechat.git
synced 2026-06-25 04:16:38 +02:00
6714d6fc82
The update of variables "buffer_max_length" and "prefix_max_length" in struct t_gui_lines is now delayed and made during the main refresh (in main loop). For a buffer with 50K lines, it is up to 3300 times faster to clear/close it. For a buffer with 4096 lines (default limit), it is up to 120 times faster.