diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2022-11-08 20:34:04 +0100 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2022-11-08 20:34:04 +0100 |
commit | 24665ae87855bdcd016c53fe048c940212938b69 (patch) | |
tree | 9adbc49ddbebd69551702f77abd5b3d3a7f3b4e8 /doc/en/weechat_plugin_api.en.adoc | |
parent | 2e4a033f0d7f58c87ac61e559bda6e206e5128e0 (diff) | |
download | weechat-24665ae87855bdcd016c53fe048c940212938b69.zip |
core: add signals "buffer_user_{input|closing}_xxx" for buffers created with `/buffer add` (closes #1848)
Diffstat (limited to 'doc/en/weechat_plugin_api.en.adoc')
-rw-r--r-- | doc/en/weechat_plugin_api.en.adoc | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/doc/en/weechat_plugin_api.en.adoc b/doc/en/weechat_plugin_api.en.adoc index 046f66724..ae5fce9f7 100644 --- a/doc/en/weechat_plugin_api.en.adoc +++ b/doc/en/weechat_plugin_api.en.adoc @@ -10959,6 +10959,16 @@ List of signals sent by WeeChat and plugins: | Pointer: buffer. | Merged buffer unzoomed. +| weechat | [[hook_signal_buffer_user_input_xxx]] buffer_user_input_xxx ^(2)^ | 3.8 +| String: text sent to buffer. +| Text sent to a user buffer as input (sent only for buffers created with `/buffer add`). + + If the return code of a callback is _WEECHAT_RC_OK_EAT_, then the string "q" + can not be used any more to close the buffer. + +| weechat | [[hook_signal_buffer_user_closing_xxx]] buffer_user_closing_xxx ^(2)^ | 3.8 +| - +| User buffer is closing (sent only for buffers created with `/buffer add`). + | weechat | [[hook_signal_cursor_start]] cursor_start | 3.2 | - | Start cursor mode. @@ -11198,7 +11208,8 @@ List of signals sent by WeeChat and plugins: |=== [NOTE] -^(1)^ _xxx_ is IRC server name, _yyy_ is IRC command name. +^(1)^ _xxx_ is IRC server name, _yyy_ is IRC command name. + +^(2)^ _xxx_ is buffer name. C example: |