From 76998665f4040f032adfa210e45f524de871e8d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Wed, 21 Feb 2024 21:36:52 +0100 Subject: script: always display list of scripts when searching scripts with `/script search` (closes #2077) --- src/plugins/script/script-action.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/plugins/script/script-action.c') diff --git a/src/plugins/script/script-action.c b/src/plugins/script/script-action.c index dbbdd6720..449a337fb 100644 --- a/src/plugins/script/script-action.c +++ b/src/plugins/script/script-action.c @@ -1371,6 +1371,11 @@ script_action_run_all () script_buffer_open (); script_buffer_refresh (1); } + if (script_buffer_detail_script) + { + /* back to list of scripts */ + script_buffer_show_detail_script (NULL); + } weechat_buffer_set (script_buffer, "display", "1"); } else if (weechat_strcmp (argv[0], "list") == 0) -- cgit v1.2.3