summaryrefslogtreecommitdiff
path: root/src/plugins
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2024-02-21 21:10:25 +0100
committerSébastien Helleu <flashcode@flashtux.org>2024-02-21 21:10:25 +0100
commitb5a32c0fa9546f52bad9e32614e85b0233a39a63 (patch)
tree90ebca1a7206b4513cb83fd0f51e1e424aeb7222 /src/plugins
parent4c5f98946acbcaefa53ef06b3a1a84ea3d668c59 (diff)
downloadweechat-b5a32c0fa9546f52bad9e32614e85b0233a39a63.zip
script: fix default mouse keys (closes #2076)
Some parameters of command `/script` were renamed in commit 85b5bacfe3d7343cb8695b8d7b0467732d8b8d53 but the default mouse keys were not changed and still using the old parameters names.
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/script/script-mouse.c8
1 files changed, 4 insertions, 4 deletions
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);