mirror of
https://github.com/weechat/weechat.git
synced 2026-06-29 06:16:40 +02:00
Add property "input" for function buffer_get_string in plugin API
This commit is contained in:
@@ -560,6 +560,8 @@ gui_buffer_get_string (struct t_gui_buffer *buffer, const char *property)
|
||||
return buffer->short_name;
|
||||
else if (string_strcasecmp (property, "title") == 0)
|
||||
return buffer->title;
|
||||
else if (string_strcasecmp (property, "input") == 0)
|
||||
return buffer->input_buffer;
|
||||
else if (string_strncasecmp (property, "localvar_", 9) == 0)
|
||||
{
|
||||
ptr_local_var = gui_buffer_local_var_search (buffer, property + 9);
|
||||
|
||||
Reference in New Issue
Block a user