mirror of
https://github.com/weechat/weechat.git
synced 2026-06-26 21:06:38 +02:00
script: fix default mouse keys (closes #2076)
Some parameters of command `/script` were renamed in commit
85b5bacfe3 but the default mouse keys were not
changed and still using the old parameters names.
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user