Skip to content

cannot resurrect the exact pane height and width for multiple tmux session #195

Open
@samumist

Description

@samumist

I have been use tmux-resurrect for over 6 months. It is my favorite tmux plugin.

I normally have two tmux sessions with 6 or 7 window open for each session. In each window, there are 3-5 panes.

The two sessions are named: sys and handlebars.

When restoring, if I start with tmux, then inside the session 0 use the restore key prefix, ctrl+R, both sessions restored with some wider panes (larger pane width and height than I saved to)/

if I start with ts sys (ts a shortcut for start a new session), then inside the session sys use the restore key prefix, ctrl+R, the sys session restored with exact width and height for its panes. but the other session handlebars restored with wider panes.

If I start with handlebars session, its panes restored correctly but sys restored with wider panes.

At the moment, my temporary solution is to create two exact named sessions, then restore inside any of the two sessions with the resurrect key. This would restore all the panes with width and height as I saved.

It's a bit annoying but not a big deal. I'm wondering if there's a better way to restore the panes in both sessions to exact what I saved to?

Many thanks

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions