weechat / weechat

The extensible chat client.

Home Page:https://weechat.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can't use mouse wheel (if mouse is enabled) to scroll up/down after "/script show <script name>"

TehPeGaSuS opened this issue · comments

Describe the bug

When we do /script show <script name> to see the script itself, we can't use the mouse wheel (if mouse is enabled) to scroll inside the scripts buffer.
We are presented with a =!= Error with command "/script down 5" (help on command: /help script) and/or =!= Error with command "/script up 5" (help on command: /help script) on the weechat buffer.
It woud be nice if we could use the mouse wheel to scroll up/down in the same way we use page p/down.

Steps to reproduce

  1. Type /script show query_blocker.pl, i.e
  2. Try to scroll up/down with the mouse wheel inside the scripts buffer
  3. See errors on weechat buffer

Current behavior

Errors like =!= Error with command "/script down 5" (help on command: /help script) and /or =!= Error with command "/script up 5" (help on command: /help script) are displayed on weechat buffer

Expected behavior

We should be able to use the mouse wheel to scroll up/down à la page up/down

Suggested solutions

No response

Additional information

No response

WeeChat version

WeeChat 4.3.0-dev (git: v4.2.0-63-gf19808ced) [compiled on Feb 19 2024 16:51:18]

What OS are you using?

Ubuntu 22.04.3 LTS

On which terminal are you running WeeChat?

xfce4-terminal

Which terminal multiplexer are you using?

tmux