Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(plugins): add API to list clients, their focused panes and running commands/plugins #3687

Merged
merged 3 commits into from
Oct 22, 2024

Conversation

imsnif
Copy link
Member

@imsnif imsnif commented Oct 22, 2024

This adds a plugin API that returns an Event::ListClients with info about the running clients, their focused pane and the running command inside this pane (or the plugin url).

This is an API version of zellij action list-clients so that plugins don't have to rely on the command line to get this info.

@imsnif imsnif merged commit d671ab6 into main Oct 22, 2024
6 checks passed
Tomcat-42 pushed a commit to Tomcat-42/zellij that referenced this pull request Nov 9, 2024
…ng commands/plugins (zellij-org#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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant