summaryrefslogtreecommitdiff
path: root/doc/it/autogen/plugin_api
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2017-08-21 07:41:28 +0200
committerSébastien Helleu <flashcode@flashtux.org>2017-08-21 07:41:28 +0200
commitdb0bdc2ac69c27728fa415dd452fc88bb9e92f0f (patch)
treec5ff585133bde66c7653b113bcce1d9abb0ea7fe /doc/it/autogen/plugin_api
parent8c554d88c93a48bec48317b15d1da61fa20d6cbb (diff)
downloadweechat-db0bdc2ac69c27728fa415dd452fc88bb9e92f0f.zip
core: add flag "input_get_empty" in buffer
The default value is 0 (legacy behavior). When it is set to 1, an empty input (just by pressing Return with nothing in input) is sent to the input callback, which receives an empty string.
Diffstat (limited to 'doc/it/autogen/plugin_api')
-rw-r--r--doc/it/autogen/plugin_api/hdata.adoc1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/it/autogen/plugin_api/hdata.adoc b/doc/it/autogen/plugin_api/hdata.adoc
index dc8e01fef..9f8b5ad64 100644
--- a/doc/it/autogen/plugin_api/hdata.adoc
+++ b/doc/it/autogen/plugin_api/hdata.adoc
@@ -534,6 +534,7 @@ _input_callback_   (pointer) +
_input_callback_pointer_   (pointer) +
_input_callback_data_   (pointer) +
_input_get_unknown_commands_   (integer) +
+_input_get_empty_   (integer) +
_input_buffer_   (string) +
_input_buffer_alloc_   (integer) +
_input_buffer_size_   (integer) +