Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions session-manager.lua
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ local function retrieve_workspace_data(window)
for _, tab in ipairs(window:mux_window():tabs()) do
local tab_data = {
tab_id = tostring(tab:tab_id()),
title = tostring(tab:get_title()),
panes = {}
}

Expand Down Expand Up @@ -122,6 +123,7 @@ local function recreate_workspace(window, workspace_data)

-- Activate the new tab before creating panes
new_tab:activate()
new_tab:set_title(tab_data.title)

-- Recreate panes within this tab
for j, pane_data in ipairs(tab_data.panes) do
Expand Down