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

buffer: add property input_get_any_user_data in buffer (issue #2066)

This allows buffers to get any user input, including commands, that are sent to
the buffer callback instead of being executed on the buffer.
This commit is contained in:
Sébastien Helleu
2024-04-02 19:12:44 +02:00
parent 3cce916035
commit 4adb64284b
24 changed files with 197 additions and 45 deletions
+1 -1
View File
@@ -961,7 +961,7 @@ TEST(PluginApiInfo, InfolistHistoryCb)
infolist_free (infolist);
/* history of core buffer */
input_data (gui_buffers, "abc", NULL, 1);
input_data (gui_buffers, "abc", NULL, 1, 0);
infolist = hook_infolist_get (NULL, "history", gui_buffers, NULL);
CHECK(infolist);
CHECK(infolist_next (infolist));