Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

save: Gracefully handle interruptions#578

Open
googlebleh wants to merge 1 commit into
tmux-plugins:mastertmux-plugins/tmux-resurrect:masterfrom
googlebleh:fix/no-clobber-last-on-empty-savegooglebleh/tmux-resurrect:fix/no-clobber-last-on-empty-saveCopy head branch name to clipboard
Open

save: Gracefully handle interruptions#578
googlebleh wants to merge 1 commit into
tmux-plugins:mastertmux-plugins/tmux-resurrect:masterfrom
googlebleh:fix/no-clobber-last-on-empty-savegooglebleh/tmux-resurrect:fix/no-clobber-last-on-empty-saveCopy head branch name to clipboard

Conversation

@googlebleh

@googlebleh googlebleh commented Jul 8, 2026

Copy link
Copy Markdown

save: don't repoint 'last' to a paneless dump

A save firing mid-boot/shutdown can capture zero panes. That empty dump still 'differs' from the last good save, so 'last' gets repointed to it; restore then reads an empty file and kills session 0. Skip the repoint when the dump has no 'pane' lines.

A save firing mid-boot/shutdown can capture zero panes. That empty dump
still 'differs' from the last good save, so 'last' gets repointed to it;
restore then reads an empty file and kills session 0. Skip the repoint
when the dump has no 'pane' lines.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@googlebleh googlebleh changed the title save: don't repoint 'last' to a paneless dump save: Gracefully handle interruptions Jul 8, 2026
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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.