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:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user