tmux-plugins/tmux-resurrect

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

Open

#195 建立於 2017年5月20日

在 GitHub 查看
 (3 留言) (0 反應) (0 負責人)Shell (12,753 star) (509 fork)batch import
bughelp wantedneeds investigation

描述

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

貢獻者指南