From db0bdc2ac69c27728fa415dd452fc88bb9e92f0f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Mon, 21 Aug 2017 07:41:28 +0200 Subject: 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. --- doc/fr/autogen/plugin_api/hdata.adoc | 1 + 1 file changed, 1 insertion(+) (limited to 'doc/fr/autogen/plugin_api') diff --git a/doc/fr/autogen/plugin_api/hdata.adoc b/doc/fr/autogen/plugin_api/hdata.adoc index 88ee7a8e9..f81c96ccc 100644 --- a/doc/fr/autogen/plugin_api/hdata.adoc +++ b/doc/fr/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) + -- cgit v1.2.3