mirror of
https://github.com/weechat/weechat.git
synced 2026-07-09 11:13:12 +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:
@@ -186,6 +186,7 @@ struct t_gui_buffer
|
||||
const void *input_callback_pointer; /* pointer for callback */
|
||||
void *input_callback_data; /* data for callback */
|
||||
/* to this buffer */
|
||||
int input_get_any_user_data; /* get any user data, including cmds */
|
||||
int input_get_unknown_commands; /* 1 if unknown commands are sent to */
|
||||
/* input_callback */
|
||||
int input_get_empty; /* 1 if empty input is sent to */
|
||||
|
||||
Reference in New Issue
Block a user