core: add signals "mouse_enabled" and "mouse_disabled" (closes #244)
parent
1a3051188c
commit
a834c438c6
|
@ -17,6 +17,7 @@ http://weechat.org/files/releasenotes/ReleaseNotes-devel.html[release notes]
|
|||
|
||||
=== New features
|
||||
|
||||
* core: add signals "mouse_enabled" and "mouse_disabled" (closes #244)
|
||||
* core: add hide of chars in string in evaluation of expressions
|
||||
* core: add arraylists, improve speed of completions (about 50x faster)
|
||||
* core: move bar item "scroll" between buffer name and lag in default bar items
|
||||
|
|
|
@ -8272,6 +8272,16 @@ List of signals sent by WeeChat and plugins:
|
|||
String: key combo |
|
||||
Key combo in 'cursor' context
|
||||
|
||||
| weechat | mouse_enabled +
|
||||
_(WeeChat ≥ 1.1)_ |
|
||||
- |
|
||||
Mouse enabled
|
||||
|
||||
| weechat | mouse_disabled +
|
||||
_(WeeChat ≥ 1.1)_ |
|
||||
- |
|
||||
Mouse disabled
|
||||
|
||||
| weechat | nicklist_group_added +
|
||||
_(WeeChat ≥ 0.3.2)_ |
|
||||
String: buffer pointer + "," + group name |
|
||||
|
|
|
@ -8418,6 +8418,16 @@ Liste des signaux envoyés par WeeChat et les extensions :
|
|||
Chaîne : combinaison de touches |
|
||||
Combinaison de touches dans le contexte 'cursor'
|
||||
|
||||
| weechat | mouse_enabled +
|
||||
_(WeeChat ≥ 1.1)_ |
|
||||
- |
|
||||
Souris activée
|
||||
|
||||
| weechat | mouse_disabled +
|
||||
_(WeeChat ≥ 1.1)_ |
|
||||
- |
|
||||
Souris désactivée
|
||||
|
||||
| weechat | nicklist_group_added +
|
||||
_(WeeChat ≥ 0.3.2)_ |
|
||||
Chaîne : pointeur tampon + "," + nom du groupe |
|
||||
|
|
|
@ -8482,6 +8482,18 @@ List of signals sent by WeeChat and plugins:
|
|||
String: key combo |
|
||||
Key combo in 'cursor' context
|
||||
|
||||
// TRANSLATION MISSING
|
||||
| weechat | mouse_enabled +
|
||||
_(WeeChat ≥ 1.1)_ |
|
||||
- |
|
||||
Mouse enabled
|
||||
|
||||
// TRANSLATION MISSING
|
||||
| weechat | mouse_disabled +
|
||||
_(WeeChat ≥ 1.1)_ |
|
||||
- |
|
||||
Mouse disabled
|
||||
|
||||
// TRANSLATION MISSING
|
||||
| weechat | nicklist_group_added +
|
||||
_(WeeChat ≥ 0.3.2)_ |
|
||||
|
|
|
@ -8266,6 +8266,18 @@ WeeChat とプラグインが送信するシグナルのリスト:
|
|||
String: キーの組み合わせ |
|
||||
'cursor' コンテキスト内のキーの組み合わせ
|
||||
|
||||
// TRANSLATION MISSING
|
||||
| weechat | mouse_enabled +
|
||||
_(WeeChat ≥ 1.1)_ |
|
||||
- |
|
||||
Mouse enabled
|
||||
|
||||
// TRANSLATION MISSING
|
||||
| weechat | mouse_disabled +
|
||||
_(WeeChat ≥ 1.1)_ |
|
||||
- |
|
||||
Mouse disabled
|
||||
|
||||
| weechat | nicklist_group_added +
|
||||
_(WeeChat バージョン 0.3.2 以上で利用可)_ |
|
||||
String: バッファポインタ + "," + グループ名 |
|
||||
|
|
|
@ -89,6 +89,9 @@ gui_mouse_enable ()
|
|||
{
|
||||
gui_mouse_enabled = 1;
|
||||
fprintf (stderr, "\033[?1005h\033[?1000h\033[?1002h");
|
||||
|
||||
(void) hook_signal_send ("mouse_enabled",
|
||||
WEECHAT_HOOK_SIGNAL_STRING, NULL);
|
||||
}
|
||||
|
||||
/*
|
||||
|
@ -100,6 +103,9 @@ gui_mouse_disable ()
|
|||
{
|
||||
gui_mouse_enabled = 0;
|
||||
fprintf (stderr, "\033[?1002l\033[?1000l\033[?1005l");
|
||||
|
||||
(void) hook_signal_send ("mouse_disabled",
|
||||
WEECHAT_HOOK_SIGNAL_STRING, NULL);
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in New Issue