1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-26 04:46:37 +02:00

trigger: add hook "info_hashtable"

This commit is contained in:
Sébastien Helleu
2019-04-13 13:53:16 +02:00
parent 8bc06ea101
commit 30768d4d24
31 changed files with 574 additions and 314 deletions
+4 -3
View File
@@ -1157,7 +1157,7 @@ trigger_command_init ()
" addreplace: add or replace an existing trigger\n"
" name: name of trigger\n"
" hook: signal, hsignal, modifier, line, print, command, "
"command_run, timer, config, focus, info\n"
"command_run, timer, config, focus, info, info_hashtable\n"
" arguments: arguments for the hook, depending on hook (separated "
"by semicolons):\n"
" signal: name(s) of signal (required)\n"
@@ -1173,6 +1173,7 @@ trigger_command_init ()
" config: name(s) of option (required)\n"
" focus: name(s) of area (required)\n"
" info: name(s) of info (required)\n"
" info_hashtable: name(s) of info (required)\n"
" conditions: evaluated conditions for the trigger\n"
" regex: one or more regular expressions to replace strings "
"in variables\n"
@@ -1218,8 +1219,8 @@ trigger_command_init ()
" 2. replace text using POSIX extended regular expression(s) (if "
"defined in trigger)\n"
" 3. execute command(s) (if defined in trigger)\n"
" 4. exit with a return code (except for modifier, line, focus "
"and info)\n"
" 4. exit with a return code (except for modifier, line, focus, "
"info and info_hashtable)\n"
" 5. perform post action\n"
"\n"
"Examples (you can also look at default triggers with /trigger "