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

core: add variable "opening" in buffer, do not send buffer signals when the buffer is opening

This commit is contained in:
Sébastien Helleu
2024-01-06 19:14:45 +01:00
parent 6efa574483
commit d8704d5c74
13 changed files with 128 additions and 65 deletions
+2 -2
View File
@@ -584,8 +584,8 @@ def test_hdata():
line2 = weechat.hdata_pointer(hdata_line, line1, 'next_line')
line3 = weechat.hdata_pointer(hdata_line, line2, 'next_line')
# hdata_get_var_offset
check(weechat.hdata_get_var_offset(hdata_buffer, 'plugin') == 0)
check(weechat.hdata_get_var_offset(hdata_buffer, 'number') > 0)
check(weechat.hdata_get_var_offset(hdata_buffer, 'opening') == 0)
check(weechat.hdata_get_var_offset(hdata_buffer, 'plugin') > 0)
# hdata_get_var_type_string
check(weechat.hdata_get_var_type_string(hdata_buffer, 'plugin') == 'pointer')
check(weechat.hdata_get_var_type_string(hdata_buffer, 'number') == 'integer')