diff --git a/extensions/vscode/src/commands.ts b/extensions/vscode/src/commands.ts index 147a1f118..f803b858b 100644 --- a/extensions/vscode/src/commands.ts +++ b/extensions/vscode/src/commands.ts @@ -739,10 +739,12 @@ const getCommandsMap: ( if (fullScreenTab && fullScreenPanel) { // Full screen open, but not focused - focus it fullScreenPanel.reveal(); - vscode.commands.executeCommand("continue.focusContinueInput"); return; } + // Clear the sidebar to prevent overwriting changes made in fullscreen + vscode.commands.executeCommand("continue.newSession") + // Full screen not open - open it captureCommandTelemetry("openFullScreen");