8000 i lost data today (my fault) · Issue #113 · amirlehmam/wmux · GitHub
[go: up one dir, main page]

Skip to content

i lost data today (my fault) #113

Closed
Closed

Description

@arnonuem

I wanted to update to a newer version of wmux.
So i finished the tasks in all my 20+ open tabs (the have been properly renamed).
Then i did the update and after the update i was like ... holy fu....
All my named and styled tabs -> gone. Why? because I forgot to hit the save session button. :(

This brings me to this feature request. Please make an opt in to automatically save/overwrite the last active session when the wmux is closed.
I fear it will happen again to me :(

Activity

  1. amirlehmam commented on Jul 23, 2026

    @amirlehmam
    Owner

    Sorry about the lost tabs — that's a rough way to end a workday. Fixed in v0.33.0, and went one step further than the opt-in you suggested: th 612E e protection is automatic, so there's nothing to remember to enable either.

    What was happening: wmux auto-saves your live layout continuously (every 30s), so nothing is lost between normal restarts. But on the first launch of a new version it deliberately cleared that auto-saved layout, because the terminal processes inside it died with the old version. Your renamed tabs lived in that file — and the clear threw them away. Only explicitly saved (named) sessions survived, hence the dependence on remembering to hit Save.

    What happens now: before clearing, wmux archives the layout — tab names, colors, splits, working directories — as a named session called Auto-backup vX.Y.Z. And since wmux already restores the most recent named session when starting a new version, your tabs now come back automatically on the first launch after an update, with fresh terminals in the right directories. The backup also stays in the session list (last 3 updates are kept) in case you ever want to reload it manually.

    One honest caveat for this one time: the backup is created by the new version at update time, so updating to v0.33.0 from v0.32.0 is the first update that gets protected. Everything from here on out is covered — no Save button required.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0