diff options
Diffstat (limited to 'doc/it/weechat_plugin_api.it.adoc')
-rw-r--r-- | doc/it/weechat_plugin_api.it.adoc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/it/weechat_plugin_api.it.adoc b/doc/it/weechat_plugin_api.it.adoc index 1179e8e22..6b728e504 100644 --- a/doc/it/weechat_plugin_api.it.adoc +++ b/doc/it/weechat_plugin_api.it.adoc @@ -9920,7 +9920,7 @@ raccomanda pertanto di scegliere un nome con un prefisso unico, come The callback must only call function <<_hook_completion_list_add,hook_completion_list_add>> and must *NOT* update the command line. + -To update the command line when key[Tab] is pressed, you can use the function +To update the command line when kbd:[Tab] is pressed, you can use the function <<_hook_command_run,hook_command_run>> with command: "/input complete_next" (and you must return _WEECHAT_RC_OK_EAT_ if your callback has updated the command line, so that WeeChat will not perform the completion). |