mirror of
https://github.com/weechat/weechat.git
synced 2026-06-26 04:46:37 +02:00
trigger: add hook "info"
This commit is contained in:
@@ -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\n"
|
||||
"command_run, timer, config, focus, info\n"
|
||||
" arguments: arguments for the hook, depending on hook (separated "
|
||||
"by semicolons):\n"
|
||||
" signal: name(s) of signal (required)\n"
|
||||
@@ -1172,6 +1172,7 @@ trigger_command_init ()
|
||||
" timer: interval (required), align on second, max calls\n"
|
||||
" config: name(s) of option (required)\n"
|
||||
" focus: name(s) of area (required)\n"
|
||||
" info: 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"
|
||||
@@ -1217,7 +1218,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 and focus)\n"
|
||||
" 4. exit with a return code (except for modifier, line, focus "
|
||||
"and info)\n"
|
||||
" 5. perform post action\n"
|
||||
"\n"
|
||||
"Examples (you can also look at default triggers with /trigger "
|
||||
|
||||
Reference in New Issue
Block a user