aboutsummaryrefslogtreecommitdiffstats
path: root/default-plugins
diff options
context:
space:
mode:
authorAram Drevekenin <aram@poor.dev>2024-10-22 15:27:40 +0200
committerGitHub <noreply@github.com>2024-10-22 15:27:40 +0200
commitd671ab650e231d353a05a2808c0984e952de38c4 (patch)
tree38a0604f9b4b20adfed5cf3e8324c59fbdf1ff2b /default-plugins
parentdocs(changelog): wasmtime patch upgrade (diff)
downloadsl0ppij-d671ab650e231d353a05a2808c0984e952de38c4.tar.gz
sl0ppij-d671ab650e231d353a05a2808c0984e952de38c4.tar.xz
sl0ppij-d671ab650e231d353a05a2808c0984e952de38c4.zip
feat(plugins): add API to list clients, their focused panes and running commands/plugins (#3687)
* fix(list-clients): properly show client info after a tab was closed * feat(plugins): add API to list clients, their focused panes and running commands/plugins * style(fmt): rustfmt
Diffstat (limited to 'default-plugins')
-rw-r--r--default-plugins/fixture-plugin-for-tests/src/main.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/default-plugins/fixture-plugin-for-tests/src/main.rs b/default-plugins/fixture-plugin-for-tests/src/main.rs
index 6aca8718..81ccc235 100644
--- a/default-plugins/fixture-plugin-for-tests/src/main.rs
+++ b/default-plugins/fixture-plugin-for-tests/src/main.rs
@@ -525,6 +525,9 @@ impl ZellijPlugin for State {
];
rebind_keys(keys_to_unbind, keys_to_rebind, write_to_disk);
},
+ BareKey::Char('z') if key.has_modifiers(&[KeyModifier::Alt]) => {
+ list_clients();
+ },
_ => {},
},
Event::CustomMessage(message, payload) => {