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

Auto-save and resurrect session #5448

Closed
t18n opened this issue Aug 29, 2022 · 1 comment
Closed

Auto-save and resurrect session #5448

t18n opened this issue Aug 29, 2022 · 1 comment

Comments

@t18n
Copy link

t18n commented Aug 29, 2022

Is your feature request related to a problem? Please describe.
I am working on multiple projects and use start up session to seed the initial sessions when starting up Kitty. When I use the terminal, I often have multiple panes opening. I normally open only the main pane at the start for each session, then add more when I am working as needed, most of the time, the panes are opening different folders.

Sometimes, I would accidentally close the app and all the running scripts would stop, and when I open the app, I have to remember what panes has been closed and redo the entire session.

Describe the solution you'd like
When I used Tmux, one useful plugin was Tmux Resurrect which solves exactly this same problem. In the case when the terminal (I used Iterm2) is closed, Tmux Resurrect actually can keep the scripts running when opening Tmux again. Not sure if this "feature" is good or bad.

I know we have discussed that it would be difficult to restore window size, etc, but personally, I think being able to preserve the session state is far more important.

Describe alternatives you've considered
Tmux + Tmux Resurrect

@kovidgoyal
Copy link
Owner

dup of #1197

or if you are worried about accidental closures, use confirm_os_window_close 1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants