diff options
-rw-r--r-- | ChangeLog.adoc | 1 | ||||
-rw-r--r-- | ReleaseNotes.adoc | 16 | ||||
-rw-r--r-- | doc/de/weechat_user.de.adoc | 12 | ||||
-rw-r--r-- | doc/en/weechat_user.en.adoc | 12 | ||||
-rw-r--r-- | doc/fr/weechat_user.fr.adoc | 12 | ||||
-rw-r--r-- | doc/it/weechat_user.it.adoc | 12 | ||||
-rw-r--r-- | doc/ja/weechat_user.ja.adoc | 12 | ||||
-rw-r--r-- | doc/pl/weechat_user.pl.adoc | 12 | ||||
-rw-r--r-- | doc/sr/weechat_user.sr.adoc | 12 | ||||
-rw-r--r-- | src/plugins/script/script-mouse.c | 8 |
10 files changed, 62 insertions, 47 deletions
diff --git a/ChangeLog.adoc b/ChangeLog.adoc index 978426681..9fe033b5f 100644 --- a/ChangeLog.adoc +++ b/ChangeLog.adoc @@ -33,6 +33,7 @@ Bug fixes:: * irc: add missing tags on self action messages when capability echo-message is enabled (issue #2074) * irc: don't strip monospace color code 0x11 from incoming messages (issue #2073) * irc: fix random date displayed when a received message contains tags but no "time" (issue #2064) + * script: fix default mouse keys (issue #2076) * scripts: fix crash on script unload when a hook is created in a buffer close callback (issue #2067) * trigger: fix memory leak when adding a new trigger with `/trigger` command diff --git a/ReleaseNotes.adoc b/ReleaseNotes.adoc index 2247cd115..7684c8752 100644 --- a/ReleaseNotes.adoc +++ b/ReleaseNotes.adoc @@ -14,7 +14,21 @@ For a complete list of changes, please look at ChangeLog. [[v4.3.0]] == Version 4.3.0 (under dev) -No release notes. +[[v4.3.0_script_keys]] +=== Script keys + +Some arguments to the `/script` command were renamed in version 4.1.0, but the +keys using these arguments were not changed at same time. + +They're now using the new arguments by default, but you must reset manually +the keys with the following commands: + +---- +/reset weechat.key_mouse.@chat(script.scripts):button1 +/reset weechat.key_mouse.@chat(script.scripts):button2 +/reset weechat.key_mouse.@chat(script.scripts):wheeldown +/reset weechat.key_mouse.@chat(script.scripts):wheelup +---- [[v4.2.1]] == Version 4.2.1 (2024-01-22) diff --git a/doc/de/weechat_user.de.adoc b/doc/de/weechat_user.de.adoc index 2bd9bc3d6..cd77ddcca 100644 --- a/doc/de/weechat_user.de.adoc +++ b/doc/de/weechat_user.de.adoc @@ -1863,10 +1863,10 @@ wurde (Befehl: `+/mouse toggle+`). | kbd:[▼] | - | chat: /list buffer | gehe fünf Zeilen im /list-Buffer nach unten. | `+/list -down 5+` | kbd:[■ □ □] | - | chat: /list buffer | Zeile im /list-Buffer auswählen. | `+/window ${_window_number};/list -go ${_chat_line_y}+` | kbd:[□ □ ■] | - | chat: /list buffer | tritt dem IRC-Kanal, in der ausgewählten Zeile, bei. | `+hsignal:irc_list_mouse+` -| kbd:[▲] | - | chat: script buffer | fünf Zeilen nach oben blättern, im Script-Buffer. | `+/script up 5+` -| kbd:[▼] | - | chat: script buffer | fünf Zeilen nach unten blättern, im Script-Buffer. | `+/script down 5+` -| kbd:[■ □ □] | - | chat: script buffer | wählt einen Eintrag im Script-Buffer aus. | `+/script go ${_chat_line_y}+` -| kbd:[□ □ ■] | - | chat: script buffer | installiert/entfernt ein Skript. | `+/script go ${_chat_line_y};/script installremove -q ${script_name_with_extension}+` +| kbd:[▲] | - | chat: script buffer | fünf Zeilen nach oben blättern, im Script-Buffer. | `+/script -up 5+` +| kbd:[▼] | - | chat: script buffer | fünf Zeilen nach unten blättern, im Script-Buffer. | `+/script -down 5+` +| kbd:[■ □ □] | - | chat: script buffer | wählt einen Eintrag im Script-Buffer aus. | `+/script -go ${_chat_line_y}+` +| kbd:[□ □ ■] | - | chat: script buffer | installiert/entfernt ein Skript. | `+/script -go ${_chat_line_y};/script installremove -q ${script_name_with_extension}+` | kbd:[■ □ □] | up / left | buflist | verschiebt Buffer in der Reihenfolge nach unten. | Signal `+buflist_mouse+`. | kbd:[■ □ □] | down / right | buflist | verschiebt Buffer in der Reihenfolge nach oben. | Signal `+buflist_mouse+`. | kbd:[■ □ □] | - | buflist | wechselt zum Buffer (oder zum vorherigen Buffer, falls der aktuell genutzte Buffer angewählt wurde). | Signal `+buflist_mouse+`. @@ -1984,8 +1984,8 @@ Diese Tasten und Aktionen werden im fset-Buffer verwendet (siehe <<script_manage [width="100%",cols="^.^3,^.^2,.^8,.^5",options="header"] |=== | Taste | Action ^(1)^ | Beschreibung | Befehl -| kbd:[↑] | | eine Zeile nach oben. | `+/script up+` -| kbd:[↓] | | eine Zeile nach unten. | `+/script down+` +| kbd:[↑] | | eine Zeile nach oben. | `+/script -up+` +| kbd:[↓] | | eine Zeile nach unten. | `+/script -down+` | kbd:[PgUp] | | eine Seite hoch blättern. | `+/window page_up+` | kbd:[PgDn] | | eine Seite nach unten blättern. | `+/window page_down+` | kbd:[Alt+i] | `i` | Skript installieren. | `+/script install+` diff --git a/doc/en/weechat_user.en.adoc b/doc/en/weechat_user.en.adoc index b3d13aac0..3095e68e4 100644 --- a/doc/en/weechat_user.en.adoc +++ b/doc/en/weechat_user.en.adoc @@ -1851,10 +1851,10 @@ These mouse actions are possible only if mouse is enabled with key kbd:[Alt+m] | kbd:[▼] | - | chat: /list buffer | Move five lines down in /list buffer. | `+/list -down 5+` | kbd:[■ □ □] | - | chat: /list buffer | Select line in /list buffer. | `+/window ${_window_number};/list -go ${_chat_line_y}+` | kbd:[□ □ ■] | - | chat: /list buffer | Join IRC channel on selected line. | `+hsignal:irc_list_mouse+` -| kbd:[▲] | - | chat: script buffer | Move five lines up in script buffer. | `+/script up 5+` -| kbd:[▼] | - | chat: script buffer | Move five lines down in script buffer. | `+/script down 5+` -| kbd:[■ □ □] | - | chat: script buffer | Select line in script buffer. | `+/script go ${_chat_line_y}+` -| kbd:[□ □ ■] | - | chat: script buffer | Install/remove script. | `+/script go ${_chat_line_y};/script installremove -q ${script_name_with_extension}+` +| kbd:[▲] | - | chat: script buffer | Move five lines up in script buffer. | `+/script -up 5+` +| kbd:[▼] | - | chat: script buffer | Move five lines down in script buffer. | `+/script -down 5+` +| kbd:[■ □ □] | - | chat: script buffer | Select line in script buffer. | `+/script -go ${_chat_line_y}+` +| kbd:[□ □ ■] | - | chat: script buffer | Install/remove script. | `+/script -go ${_chat_line_y};/script installremove -q ${script_name_with_extension}+` | kbd:[■ □ □] | up / left | buflist | Move buffer to a lower number. | Signal `+buflist_mouse+`. | kbd:[■ □ □] | down / right | buflist | Move buffer to a higher number. | Signal `+buflist_mouse+`. | kbd:[■ □ □] | - | buflist | Switch to buffer (previously visited buffer if the buffer is the current one). | Signal `+buflist_mouse+`. @@ -1972,8 +1972,8 @@ These keys and actions are used on the script buffer (see <<script_manager,scrip [width="100%",cols="^.^3,^.^2,.^8,.^5",options="header"] |=== | Key | Action ^(1)^ | Description | Command -| kbd:[↑] | | Move one line up. | `+/script up+` -| kbd:[↓] | | Move one line down. | `+/script down+` +| kbd:[↑] | | Move one line up. | `+/script -up+` +| kbd:[↓] | | Move one line down. | `+/script -down+` | kbd:[PgUp] | | Move one page up. | `+/window page_up+` | kbd:[PgDn] | | Move one page down. | `+/window page_down+` | kbd:[Alt+i] | `i` | Install script. | `+/script install+` diff --git a/doc/fr/weechat_user.fr.adoc b/doc/fr/weechat_user.fr.adoc index 43894886e..8038ce6f3 100644 --- a/doc/fr/weechat_user.fr.adoc +++ b/doc/fr/weechat_user.fr.adoc @@ -1886,10 +1886,10 @@ avec la touche kbd:[Alt+m] (commande : `+/mouse toggle+`). | kbd:[▼] | - | chat : tampon /list | Descendre de cinq lignes dans le tampon /list. | `+/list -down 5+` | kbd:[■ □ □] | - | chat : tampon /list | Sélectionner la ligne dans le tampon /list. | `+/window ${_window_number};/list -go ${_chat_line_y}+` | kbd:[□ □ ■] | - | chat : tampon /list | Rejoindre le canal IRC sur la ligne sélectionnée. | `+hsignal:irc_list_mouse+` -| kbd:[▲] | - | chat : tampon script | Monter de 5 lignes dans le tampon script. | `+/script up 5+` -| kbd:[▼] | - | chat : tampon script | Descendre de 5 lignes dans le tampon script. | `+/script down 5+` -| kbd:[■ □ □] | - | chat : tampon script | Sélectionner la ligne dans le tampon script. | `+/script go ${_chat_line_y}+` -| kbd:[□ □ ■] | - | chat : tampon script | Installer/supprimer un script. | `+/script go ${_chat_line_y};/script installremove -q ${script_name_with_extension}+` +| kbd:[▲] | - | chat : tampon script | Monter de 5 lignes dans le tampon script. | `+/script -up 5+` +| kbd:[▼] | - | chat : tampon script | Descendre de 5 lignes dans le tampon script. | `+/script -down 5+` +| kbd:[■ □ □] | - | chat : tampon script | Sélectionner la ligne dans le tampon script. | `+/script -go ${_chat_line_y}+` +| kbd:[□ □ ■] | - | chat : tampon script | Installer/supprimer un script. | `+/script -go ${_chat_line_y};/script installremove -q ${script_name_with_extension}+` | kbd:[■ □ □] | haut / gauche | buflist | Déplacer le tampon vers un numéro inférieur. | Signal `+buflist_mouse+`. | kbd:[■ □ □] | bas / droit | buflist | Déplacer le tampon vers un numéro supérieur. | Signal `+buflist_mouse+`. | kbd:[■ □ □] | - | buflist | Aller au tampon (tampon précédent dans la liste des tampons visités si le tampon est le courant). | Signal `+buflist_mouse+`. @@ -2010,8 +2010,8 @@ Ces touches et actions sont utilisées sur le tampon script [width="100%",cols="^.^3,^.^2,.^8,.^5",options="header"] |=== | Touche | Action ^(1)^ | Description | Commande -| kbd:[↑] | | Monter d'une ligne. | `+/script up+` -| kbd:[↓] | | Descendre d'une ligne. | `+/script down+` +| kbd:[↑] | | Monter d'une ligne. | `+/script -up+` +| kbd:[↓] | | Descendre d'une ligne. | `+/script -down+` | kbd:[PgUp] | | Monter d'une page. | `+/window page_up+` | kbd:[PgDn] | | Descendre d'une page. | `+/window page_down+` | kbd:[Alt+i] | `i` | Installer le script. | `+/script install+` diff --git a/doc/it/weechat_user.it.adoc b/doc/it/weechat_user.it.adoc index d768c5c72..c5895befd 100644 --- a/doc/it/weechat_user.it.adoc +++ b/doc/it/weechat_user.it.adoc @@ -2069,13 +2069,13 @@ These mouse actions are possible only if mouse is enabled with key kbd:[Alt+m] // TRANSLATION MISSING | kbd:[□ □ ■] | - | chat: /list buffer | Join IRC channel on selected line. | `+hsignal:irc_list_mouse+` // TRANSLATION MISSING -| kbd:[▲] | - | chat: script buffer | Move 5 lines up in script buffer. | `+/script up 5+` +| kbd:[▲] | - | chat: script buffer | Move 5 lines up in script buffer. | `+/script -up 5+` // TRANSLATION MISSING -| kbd:[▼] | - | chat: script buffer | Move 5 lines down in script buffer. | `+/script down 5+` +| kbd:[▼] | - | chat: script buffer | Move 5 lines down in script buffer. | `+/script -down 5+` // TRANSLATION MISSING -| kbd:[■ □ □] | - | chat: script buffer | Select line in script buffer. | `+/script go ${_chat_line_y}+` +| kbd:[■ □ □] | - | chat: script buffer | Select line in script buffer. | `+/script -go ${_chat_line_y}+` // TRANSLATION MISSING -| kbd:[□ □ ■] | - | chat: script buffer | Install/remove script. | `+/script go ${_chat_line_y};/script installremove -q ${script_name_with_extension}+` +| kbd:[□ □ ■] | - | chat: script buffer | Install/remove script. | `+/script -go ${_chat_line_y};/script installremove -q ${script_name_with_extension}+` // TRANSLATION MISSING | kbd:[■ □ □] | up / left | buflist | Move buffer to a lower number. | Signal `+buflist_mouse+`. // TRANSLATION MISSING @@ -2208,8 +2208,8 @@ These keys and actions are used on the script buffer (see <<script_manager,scrip [width="100%",cols="^.^3,^.^2,.^8,.^5",options="header"] |=== | Key | Action ^(1)^ | Description | Command -| kbd:[↑] | | Move one line up. | `+/script up+` -| kbd:[↓] | | Move one line down. | `+/script down+` +| kbd:[↑] | | Move one line up. | `+/script -up+` +| kbd:[↓] | | Move one line down. | `+/script -down+` | kbd:[PgUp] | | Move one page up. | `+/window page_up+` | kbd:[PgDn] | | Move one page down. | `+/window page_down+` | kbd:[Alt+i] | `i` | Install script. | `+/script install+` diff --git a/doc/ja/weechat_user.ja.adoc b/doc/ja/weechat_user.ja.adoc index 0c31ecaa1..75df642cf 100644 --- a/doc/ja/weechat_user.ja.adoc +++ b/doc/ja/weechat_user.ja.adoc @@ -2018,10 +2018,10 @@ These mouse actions are possible only if mouse is enabled with key kbd:[Alt+m] | kbd:[■ □ □] | - | chat: /list buffer | Select line in /list buffer. | `+/window ${_window_number};/list -go ${_chat_line_y}+` // TRANSLATION MISSING | kbd:[□ □ ■] | - | chat: /list buffer | Join IRC channel on selected line. | `+hsignal:irc_list_mouse+` -| kbd:[▲] | - | チャット: スクリプトバッファ | スクリプトバッファを 5 行上方向にスクロール | `+/script up 5+` -| kbd:[▼] | - | チャット: スクリプトバッファ | スクリプトバッファで 5 行下方向にスクロール | `+/script down 5+` -| kbd:[■ □ □] | - | チャット: スクリプトバッファ | スクリプトバッファで行選択 | `+/script go ${_chat_line_y}+` -| kbd:[□ □ ■] | - | チャット: スクリプトバッファ | スクリプトのインストール `+/ 削除 | /script go ${_chat_line_y};/script installremove ${script_name_with_extension}+` +| kbd:[▲] | - | チャット: スクリプトバッファ | スクリプトバッファを 5 行上方向にスクロール | `+/script -up 5+` +| kbd:[▼] | - | チャット: スクリプトバッファ | スクリプトバッファで 5 行下方向にスクロール | `+/script -down 5+` +| kbd:[■ □ □] | - | チャット: スクリプトバッファ | スクリプトバッファで行選択 | `+/script -go ${_chat_line_y}+` +| kbd:[□ □ ■] | - | チャット: スクリプトバッファ | スクリプトのインストール `+/ 削除 | /script -go ${_chat_line_y};/script installremove ${script_name_with_extension}+` | kbd:[■ □ □] | 上 / 左 | バッファリスト | 指定したバッファを下の番号に移動 | `+buflist_mouse+` シグナル | kbd:[■ □ □] | 下 / 右 | バッファリスト | 指定したバッファを上の番号に移動 | `+buflist_mouse+` シグナル | kbd:[■ □ □] | - | バッファリスト | 指定したバッファに切り替える (現在のバッファを指定した場合、バッファ切り替え履歴で前のバッファに切り替える) | `+buflist_mouse+` シグナル @@ -2148,8 +2148,8 @@ These keys and actions are used on the script buffer (see <<script_manager,scrip [width="100%",cols="^.^3,^.^2,.^8,.^5",options="header"] |=== | Key | Action ^(1)^ | Description | Command -| kbd:[↑] | | Move one line up. | `+/script up+` -| kbd:[↓] | | Move one line down. | `+/script down+` +| kbd:[↑] | | Move one line up. | `+/script -up+` +| kbd:[↓] | | Move one line down. | `+/script -down+` | kbd:[PgUp] | | Move one page up. | `+/window page_up+` | kbd:[PgDn] | | Move one page down. | `+/window page_down+` | kbd:[Alt+i] | `i` | Install script. | `+/script install+` diff --git a/doc/pl/weechat_user.pl.adoc b/doc/pl/weechat_user.pl.adoc index f900f455e..735c44701 100644 --- a/doc/pl/weechat_user.pl.adoc +++ b/doc/pl/weechat_user.pl.adoc @@ -1861,10 +1861,10 @@ za pomocą skrótu kbd:[Alt+m] (komenda: `+/mouse toggle+`). | kbd:[▼] | - | chat: /list buffer | Przesuń pięć linii w dół w buforze /list. | `+/list -down 5+` | kbd:[■ □ □] | - | chat: /list buffer | Wybierz linię w buforze /list. | `+/window ${_window_number};/list -go ${_chat_line_y}+` | kbd:[□ □ ■] | - | chat: /list buffer | Wejdź na kanał IRC w zaznaczonej linii. | `+hsignal:irc_list_mouse+` -| kbd:[▲] | - | chat: bufor skryptów | Przejdź 5 linii w górę w buforze skryptów. | `+/script up 5+` -| kbd:[▼] | - | chat: bufor skryptów | Przejdź 5 linii w dół w buforze skryptów. | `+/script down 5+` -| kbd:[■ □ □] | - | chat: bufor skryptów | Zaznacz linię w buforze skryptów. | `+/script go ${_chat_line_y}+` -| kbd:[□ □ ■] | - | chat: bufor skryptów | Zainstaluj/usuń skrypt. | `+/script go ${_chat_line_y};/script installremove -q ${script_name_with_extension}+` +| kbd:[▲] | - | chat: bufor skryptów | Przejdź 5 linii w górę w buforze skryptów. | `+/script -up 5+` +| kbd:[▼] | - | chat: bufor skryptów | Przejdź 5 linii w dół w buforze skryptów. | `+/script -down 5+` +| kbd:[■ □ □] | - | chat: bufor skryptów | Zaznacz linię w buforze skryptów. | `+/script -go ${_chat_line_y}+` +| kbd:[□ □ ■] | - | chat: bufor skryptów | Zainstaluj/usuń skrypt. | `+/script -go ${_chat_line_y};/script installremove -q ${script_name_with_extension}+` | kbd:[■ □ □] | góra / lewo | buflist | Przenieś bufor na niższy numer. | Sygnał `+buflist_mouse+`. | kbd:[■ □ □] | dół / prawo | buflist | Przenieś bufor na wyższy numer. | Sygnał `+buflist_mouse+`. | kbd:[■ □ □] | - | buflist | Przełącz na bufor (poprzednio odwiedzony bufor, jeśli jest to obecny bufor). | Sygnał `+buflist_mouse+`. @@ -1982,8 +1982,8 @@ Te skróty klawiszowe i akcje mogą zostać użyte w buforze skryptów (zobacz < [width="100%",cols="^.^3,^.^2,.^8,.^5",options="header"] |=== | Skrót | Akcja ^(1)^ | Opis | Komenda -| kbd:[↑] | | Przejdź linię wyżej. | `+/script up+` -| kbd:[↓] | | Przejdź linię niżej. | `+/script down+` +| kbd:[↑] | | Przejdź linię wyżej. | `+/script -up+` +| kbd:[↓] | | Przejdź linię niżej. | `+/script -down+` | kbd:[PgUp] | | Przewiń stronę do góry. | `+/window page_up+` | kbd:[PgDn] | | Przewiń stronę w dół. | `+/window page_down+` | kbd:[Alt+i] | `i` | Zainstaluj skrypt. | `+/script install+` diff --git a/doc/sr/weechat_user.sr.adoc b/doc/sr/weechat_user.sr.adoc index 4617c7904..a1688c076 100644 --- a/doc/sr/weechat_user.sr.adoc +++ b/doc/sr/weechat_user.sr.adoc @@ -1767,10 +1767,10 @@ WeeChat нуди доста подразумеваних тастерских п | kbd:[▼] | - | чет: /list бафер | Помера за пет линија наниже у /list баферу. | `+/list -down 5+` | kbd:[■ □ □] | - | чет: /list бафер | Бира линију у /list баферу. | `+/window ${_window_number};/list -go ${_chat_line_y}+` | kbd:[□ □ ■] | - | чет: /list бафер | Приступа IRC каналу на изабраној линији. | `+hsignal:irc_list_mouse+` -| kbd:[▲] | - | чет: script бафер | Помера за пет линија навише у script баферу. | `+/script up 5+` -| kbd:[▼] | - | чет: script бафер | Помера за пет линија наниже у script баферу. | `+/script down 5+` -| kbd:[■ □ □] | - | чет: script бафер | Бира линију у script баферу. | `+/script go ${_chat_line_y}+` -| kbd:[□ □ ■] | - | чет: script бафер | Инсталира/уклања скрипту. | `+/script go ${_chat_line_y};/script installremove -q ${script_name_with_extension}+` +| kbd:[▲] | - | чет: script бафер | Помера за пет линија навише у script баферу. | `+/script -up 5+` +| kbd:[▼] | - | чет: script бафер | Помера за пет линија наниже у script баферу. | `+/script -down 5+` +| kbd:[■ □ □] | - | чет: script бафер | Бира линију у script баферу. | `+/script -go ${_chat_line_y}+` +| kbd:[□ □ ■] | - | чет: script бафер | Инсталира/уклања скрипту. | `+/script -go ${_chat_line_y};/script installremove -q ${script_name_with_extension}+` | kbd:[■ □ □] | горе / лево | листа бафера | Помера бафер на нижи број. | Signal `+buflist_mouse+`. | kbd:[■ □ □] | доле / десно | листа бафера | Помера бафер на виши број. | Signal `+buflist_mouse+`. | kbd:[■ □ □] | - | листа бафера | Пребацивање на бафер (претходно посећени багер ако је бафер текући). | Signal `+buflist_mouse+`. @@ -1888,8 +1888,8 @@ kbd:[▼]: точкић доле [width="100%", cols="^.^3,^.^2,.^8,.^5", options="header"] |=== | Тастер | Акција ^(1)^ | Опис | Команда -| kbd:[↑] | | Помера једну линију навише. | `+/script up+` -| kbd:[↓] | | Помера једну линију наниже. | `+/script down+` +| kbd:[↑] | | Помера једну линију навише. | `+/script -up+` +| kbd:[↓] | | Помера једну линију наниже. | `+/script -down+` | kbd:[PgUp] | | Помера једну страну навише. | `+/window page_up+` | kbd:[PgDn] | | Помера једну страну наниже. | `+/window page_down+` | kbd:[Alt+i] | `i` | Инсталира скрипту. | `+/script install+` diff --git a/src/plugins/script/script-mouse.c b/src/plugins/script/script-mouse.c index 4df5af2ba..12d1d6b3a 100644 --- a/src/plugins/script/script-mouse.c +++ b/src/plugins/script/script-mouse.c @@ -135,21 +135,21 @@ script_mouse_init () weechat_hashtable_set ( keys, "@chat(" SCRIPT_PLUGIN_NAME "." SCRIPT_BUFFER_NAME "):button1", - "/window ${_window_number};/script go ${_chat_line_y}"); + "/window ${_window_number};/script -go ${_chat_line_y}"); weechat_hashtable_set ( keys, "@chat(" SCRIPT_PLUGIN_NAME "." SCRIPT_BUFFER_NAME "):button2", "/window ${_window_number};" - "/script go ${_chat_line_y};" + "/script -go ${_chat_line_y};" "/script installremove -q ${script_name_with_extension}"); weechat_hashtable_set ( keys, "@chat(" SCRIPT_PLUGIN_NAME "." SCRIPT_BUFFER_NAME "):wheelup", - "/script up 5"); + "/script -up 5"); weechat_hashtable_set ( keys, "@chat(" SCRIPT_PLUGIN_NAME "." SCRIPT_BUFFER_NAME "):wheeldown", - "/script down 5"); + "/script -down 5"); weechat_hashtable_set (keys, "__quiet", "1"); weechat_key_bind ("mouse", keys); |