tmux-plugins/tmux-resurrect

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

Open

#195 opened on May 20, 2017

View on GitHub
 (3 comments) (0 reactions) (0 assignees)Shell (12,753 stars) (509 forks)batch import
bughelp wantedneeds investigation

Description

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

Contributor guide