diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2024-02-21 21:36:52 +0100 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2024-02-21 21:36:52 +0100 |
commit | 76998665f4040f032adfa210e45f524de871e8d5 (patch) | |
tree | 602cae021a14c6b3e57032df624bde06a7edbd98 /src/plugins/script/script-action.c | |
parent | b5a32c0fa9546f52bad9e32614e85b0233a39a63 (diff) | |
download | weechat-76998665f4040f032adfa210e45f524de871e8d5.zip |
script: always display list of scripts when searching scripts with `/script search` (closes #2077)
Diffstat (limited to 'src/plugins/script/script-action.c')
-rw-r--r-- | src/plugins/script/script-action.c | 5 |
1 files changed, 5 insertions, 0 deletions
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) |