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

Add resume session support #15

Closed
wants to merge 1 commit into from

Conversation

roicostas
Copy link

Allows to resume a previous session from its session id. Fixes #4

@marcosnils
Copy link
Contributor

@roicostas please check #4 (comment). I believe that is already covered by the SDK. Is there something that you added which can't be done with what's currently implemented?

@roicostas
Copy link
Author

I have answered at #4 (comment) . In more detail, the resumeSession function restores the session through the init function and then recreates already existing terminals (matching them by hostname with requested terminals like the terminal function does) and creates new terminals for non matching ones. Recreated terminals keep history and all session data so it allows you to keep containers, images etc

@roicostas roicostas closed this Mar 10, 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.

Ability to resume a session
2 participants