summaryrefslogtreecommitdiff
path: root/doc/en
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2017-03-31 21:04:21 +0200
committerSébastien Helleu <flashcode@flashtux.org>2017-03-31 21:04:21 +0200
commit36eb3ee3437cb82205487080bccc527f90c00d2a (patch)
treecf2f000e8556506aa49c3c2b0e50f22a17ab8510 /doc/en
parent85bb23f8cb46d29b4fcff4c0b5e65941fcc4f0d2 (diff)
downloadweechat-36eb3ee3437cb82205487080bccc527f90c00d2a.zip
api: add special key "__quiet" in function key_bind
Diffstat (limited to 'doc/en')
-rw-r--r--doc/en/weechat_plugin_api.en.adoc8
1 files changed, 6 insertions, 2 deletions
diff --git a/doc/en/weechat_plugin_api.en.adoc b/doc/en/weechat_plugin_api.en.adoc
index ec48f67a5..a1bd8f3d4 100644
--- a/doc/en/weechat_plugin_api.en.adoc
+++ b/doc/en/weechat_plugin_api.en.adoc
@@ -7111,7 +7111,7 @@ Functions for key bindings.
==== key_bind
-_WeeChat ≥ 0.3.6._
+_WeeChat ≥ 0.3.6, updated in 1.8._
Add new key bindings.
@@ -7126,6 +7126,8 @@ Prototype:
int weechat_key_bind (const char *context, struct t_hashtable *keys);
----
+:key_bind_quiet: __quiet
+
Arguments:
* _context_: context for keys:
@@ -7133,7 +7135,9 @@ Arguments:
** _search_: search context (when searching text in buffer)
** _cursor_: free movement of cursor on screen
** _mouse_: keys for mouse events
-* _keys_: hashtable with key bindings
+* _keys_: hashtable with key bindings; it can contain following special keys:
+** _{key_bind_quiet}_: do not display the keys added in core buffer
+ _(WeeChat ≥ 1.8)_
Return value: