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(command-panes): optionally allow panes to be closed on exit #1869

Merged
merged 3 commits into from
Oct 28, 2022

Conversation

imsnif
Copy link
Member

@imsnif imsnif commented Oct 27, 2022

This gives an option both in the cli and for layouts to make a pane exit immediately if its command exited (rather than stick around, show its exit status and allow the user to re-run it with ).

eg. in layouts

layout {
    pane command="htop" {
        close_on_exit true
    }
}

eg. in the cli:

zellij run --close-on-exit -- htop

@imsnif imsnif temporarily deployed to cachix October 27, 2022 15:09 Inactive
@imsnif imsnif merged commit c97b972 into main Oct 28, 2022
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