Skip to content

Help: issues with the first window

Bruno Sutic edited this page Feb 12, 2015 · 4 revisions

Update: this is now fixed. Just update tmux-resurrect to the latest version and things should just work.

This page tries to explain the "first window not restored" issue some users have reported.

Here's the video that reproduces and explains the "problem":

screencast screenshot

TL;DR

tmux-resurrect respects windows and panes you manually open and never overrides them. When you start a new tmux session the first window is automatically created. Because it exists at the time of the restoration it will not be overridden.

Solution:

  • Do all the work in named sessions. That way there won't be anything to restore in the first window of a session named 0. Sessions can be named/renamed with prefix+$.
Clone this wiki locally