Fix workspace name when restoring a workspace#118
Open
fvalenza wants to merge 1 commit intoMLFlexer:mainfrom
Open
Fix workspace name when restoring a workspace#118fvalenza wants to merge 1 commit intoMLFlexer:mainfrom
fvalenza wants to merge 1 commit intoMLFlexer:mainfrom
Conversation
gcc42
added a commit
to gcc42/resurrect.wezterm
that referenced
this pull request
Jan 11, 2026
When restoring a workspace, the tabs/panes/processes were restored but the workspace name remained 'default'. Now properly restores the original workspace name using set_active_workspace or rename_workspace depending on the spawn mode. Fixes: MLFlexer#118
gcc42
added a commit
to gcc42/resurrect.wezterm
that referenced
this pull request
Jan 12, 2026
When restoring a workspace, the tabs/panes/processes were restored but the workspace name remained 'default'. Now properly restores the original workspace name using set_active_workspace or rename_workspace depending on the spawn mode. Includes mux fake implementations and regression test. Fixes: MLFlexer#118
gcc42
added a commit
to gcc42/resurrect.wezterm
that referenced
this pull request
Jan 12, 2026
* docs: add critical code review and improvement plan Review of unchanged files (fuzzy_loader, encryption, file_io, utils): - Identified P0 security issues in shell command construction - Found zero test coverage for encryption and fuzzy_loader - Documented inconsistent error handling patterns - Created prioritized improvement roadmap * fix(workspace): restore workspace name after restore When restoring a workspace, the tabs/panes/processes were restored but the workspace name remained 'default'. Now properly restores the original workspace name using set_active_workspace or rename_workspace depending on the spawn mode. Includes mux fake implementations and regression test. Fixes: MLFlexer#118 * fix(file_io): wrap io.lines in pcall for graceful error handling The load_json() function now catches errors when files don't exist or can't be read, emits an error event, and returns nil instead of throwing an exception. * test: add utils and encryption test suites utils_spec.lua (109 lines, 12 tests): - Path normalization, string utilities, table utilities encryption_spec.lua (47 lines, 2 tests): - Command construction for age and gpg decrypt * docs(CLAUDE): forbid force push without approval
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Hello and thanks for this plugin !
Currently when restoring a workspace, it restores the state (tabs/panes/processes) without restoring the workspace name ( hence we are still on default workspace and in the spawned window, no traces of the name of restored worspace)
This PR shall fix this:
Fixes #114