scripts buffer isn't reset if you type `/script search <keyword>` after `/script show <script name>`
TehPeGaSuS opened this issue · comments
Describe the bug
After using /script show <script name>
, if you type /script search <keyword>
the scripts
buffer isn't reset and you will see the "header" of the script shown previously (without the Source code:
bit) instead of the list of scripts that match the search keyword.
It would nice if typing /script search <keyword>
would reset the scripts
buffer state and show the scripts matching the new search.
Steps to reproduce
- Type
/script show query_blocker.pl
, i.e - Type
/script search notify
, i.e - The
scripts
buffer state isn't reset and you'll see the "header" of thequery_blocker.pl
script instead of the scripts matching the new search keyword
Current behavior
You need to /close
the scripts
buffer after a /script show <script name>
before using /script search <keyword>
Expected behavior
The /script search <keyword>
should reset the scripts
buffer state
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