1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-06 17:53:13 +02:00

trigger: add "${tg_displayed}" in conditions of default trigger "beep"

The command of "beep" trigger is now executed only if the message is
displayed (not filtered with /filter).
This commit is contained in:
Sébastien Helleu
2014-09-28 15:34:42 +02:00
parent 0462aec0b4
commit 89c2187024
3 changed files with 13 additions and 1 deletions
+1
View File
@@ -26,6 +26,7 @@ http://weechat.org/files/releasenotes/ReleaseNotes-devel.html[release notes]
* irc: display own nick changes in server buffer (closes #188)
* irc: disable creation of temporary servers by default with command /connect,
new option irc.look.temporary_servers
* trigger: add "${tg_displayed}" in conditions of default trigger "beep"
* trigger: add option "restore" in command /trigger
=== Bugs fixed
+11
View File
@@ -46,6 +46,17 @@ instead of milliseconds:
* function 'util_timeval_add': the argument 'interval' is now expressed in
microseconds.
=== Default "beep" trigger
The command of "beep" trigger is now executed only if the message is displayed
(not filtered with /filter).
You can restore the default "beep" trigger with the following command:
----
/trigger restore beep
----
=== Default triggers for hiding passwords
Triggers used to hide passwords have been fixed for *BSD operating systems.
+1 -1
View File
@@ -53,7 +53,7 @@ char *trigger_config_default_list[][1 + TRIGGER_NUM_OPTIONS] =
{ "beep", "on",
"print",
"",
"${tg_highlight} || ${tg_msg_pv}",
"${tg_displayed) && (${tg_highlight} || ${tg_msg_pv})",
"",
"/print -beep",
"ok" },