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:
+2
-2
@@ -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);
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user