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

refactor(tab): close_pane returns closed pane #853

Merged
merged 2 commits into from
Nov 13, 2021

Conversation

tlinford
Copy link
Contributor

@tlinford tlinford commented Nov 10, 2021

Prepare for break pane command (#196) by making close_pane return the closed
pane. Also split the function up to hopefully be more readable.

Prepare for break pane command by making close_pane return the closed
pane. Also split the function up to hopefully be more readable.
Copy link
Member

@TheLostLambda TheLostLambda left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me! Nice to have a bit of refactoring done as well! The tab file definitely has a lot of duplication and every bit of cleanup helps!

@tlinford tlinford merged commit 44852cd into zellij-org:main Nov 13, 2021
@tlinford tlinford deleted the refactor-close-pane branch November 13, 2021 20:52
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.

2 participants