summaryrefslogtreecommitdiff
path: root/src/core/core-input.h
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2024-04-02 19:12:44 +0200
committerSébastien Helleu <flashcode@flashtux.org>2024-04-07 13:18:13 +0200
commit4adb64284bf5d78c4ca4034b722b936d14ca9bca (patch)
tree55fc93fde25474076fe35a4be6a9beec7116667f /src/core/core-input.h
parent3cce916035ed4a99c765aa885555a2cc96e95a92 (diff)
downloadweechat-4adb64284bf5d78c4ca4034b722b936d14ca9bca.zip
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.
Diffstat (limited to 'src/core/core-input.h')
-rw-r--r--src/core/core-input.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/core-input.h b/src/core/core-input.h
index 57ab5d10e..3302983c2 100644
--- a/src/core/core-input.h
+++ b/src/core/core-input.h
@@ -31,7 +31,8 @@ extern int input_exec_command (struct t_gui_buffer *buffer,
const char *string,
const char *commands_allowed);
extern int input_data (struct t_gui_buffer *buffer, const char *data,
- const char *commands_allowed, int split_newline);
+ const char *commands_allowed, int split_newline,
+ int user_data);
extern int input_data_delayed (struct t_gui_buffer *buffer, const char *data,
const char *commands_allowed, int split_newline,
long delay);