Skip to content

Commit 6c499d4

Browse files
authored
Merge pull request #3377 from HD787/chatReopen
sidebar will always reopen with cmd+L or Open chat
2 parents 4368bf9 + ba751d4 commit 6c499d4

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

extensions/vscode/src/commands.ts

+1-3
Original file line numberDiff line numberDiff line change
@@ -459,10 +459,8 @@ const getCommandsMap: (
459459
// This is a temporary fix—sidebar.webviewProtocol.request is blocking
460460
// when the GUI hasn't yet been setup and we should instead be
461461
// immediately throwing an error, or returning a Result object
462-
462+
focusGUI();
463463
if (!sidebar.isReady) {
464-
focusGUI();
465-
466464
const isReady = await waitForSidebarReady(sidebar, 5000, 100);
467465
if (!isReady) {
468466
return;

0 commit comments

Comments
 (0)