Skip to content

Commit

Permalink
Merge pull request #3635 from HD787/fullscreenOverwriteFix
Browse files Browse the repository at this point in the history
fix: fullscreen bugs
  • Loading branch information
sestinj authored Jan 10, 2025
2 parents 2770d89 + bd03c85 commit 172d800
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion extensions/vscode/src/commands.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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");

Expand Down

0 comments on commit 172d800

Please sign in to comment.