1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-29 22:36: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
+2 -2
View File
@@ -183,7 +183,7 @@ void
run_cmd (const char *command)
{
printf (">>> Running command: %s\n", command);
input_data (ptr_core_buffer, command, NULL, 0);
input_data (ptr_core_buffer, command, NULL, 0, 0);
}
/*
@@ -193,7 +193,7 @@ run_cmd (const char *command)
void
run_cmd_quiet (const char *command)
{
input_data (ptr_core_buffer, command, NULL, 0);
input_data (ptr_core_buffer, command, NULL, 0, 0);
}
/*