News for hackers. Stuff that matters.
Re:Show HN: Tmux-restore saves tmux windows and agent sessio... by tonymet on Saturday November 07, 2026 @02:25AM (#50402423)
This is clever, but running in a VM with hibernation is a lot easier, more consistent and more comprehensive (all state is saved, and restored instantly)
Re:Show HN: Tmux-restore saves tmux windows and agent sessio... by b112 on Saturday November 07, 2026 @02:33AM (#50402467)
But the VM needs reboots too, kernel upgrades for example.

And if you upgrade libraries, especially for security issues, you need to restart apps dependent upon them, needrestart in Debian helps greatly with this.

So a VM doesn't really help solve this.

Re:Show HN: Tmux-restore saves tmux windows and agent sessio... by tonymet on Saturday November 07, 2026 @12:07PM (#50406118)
You’re always making tradeoffs. For 100 sessions , which one works better ? Would you use the worse setup for the once a month you need to reboot ?
Re:Show HN: Tmux-restore saves tmux windows and agent sessio... by boldi on Saturday November 07, 2026 @04:05AM (#50402906)
Might be a bit naïve, but wouldn't a VM take up a lot more memory?
Re:Show HN: Tmux-restore saves tmux windows and agent sessio... by tonymet on Saturday November 07, 2026 @12:05PM (#50406103)
You can get the overhead down to 85mb, about an empty browser tab
Re:Show HN: Tmux-restore saves tmux windows and agent sessio... by Roark66 on Saturday November 07, 2026 @07:12AM (#50403861)
I built an almost the same thing for myself and the main use case for me is on a work laptop where I run WSL and I leave on standby overnight. Then the I'd dept forces a reboot to install updates and all my windows are gone...

Saving state every afternoon would be a pain.

Re:Show HN: Tmux-restore saves tmux windows and agent sessio... by tonymet on Saturday November 07, 2026 @12:08PM (#50406134)
Move it to hyperv . Windows terminal integrates as cleanly as wsl . Hyperv gives you hibernation by default